Re: Is the GAC dynamic?
From: Carlos J. Quintero [.NET MVP] (carlosq_at_NOSPAMsogecable.com)
Date: 03/02/05
- Next message: Ganesh: "RE: Setting a service to MANUAL"
- Previous message: Chris R. Timmons: "Re: DataTable weirdness"
- In reply to: julien: "Is the GAC dynamic?"
- Next in thread: Dan Bass: "Re: Is the GAC dynamic?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Mar 2005 10:42:28 +0100
"julien" <julien@sobrier.net> escribió en el mensaje
news:4225431d$0$29693$626a14ce@news.free.fr...
> Hello,
> I have one 2 more questions about the GAC:
> 1/If I had a dll to be shared in the GAC directory, will it be loaded when
> a program will try to find it?
When an app needs a DLL, the .NET framework run-time will load it wherever
is found.
> Or do I have to load it manually using the command line tool?
Huh? What command-line tool? The gacutil.exe command-line tool only puts
DLLs in the GAC. Once there, apps can use them.
> 2/If I change the config file to change the version mapping, will it be
> automatically reflected by the GAC, or do I have to manually unload all
> libraries and load them back?
If you change the config file, changes will be taking into account the next
time that you run the app. There is no reflection or change in the GAC: the
GAC will have 2 versions of the DLL and your config file sets what version
to use.
So, no the GAC is not dynamic. The GAC is a kind of static repository for
versioned DLLs, and apps, when run, decide which version to use.
-- Carlos J. Quintero MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET You can code, design and document much faster. http://www.mztools.com
- Next message: Ganesh: "RE: Setting a service to MANUAL"
- Previous message: Chris R. Timmons: "Re: DataTable weirdness"
- In reply to: julien: "Is the GAC dynamic?"
- Next in thread: Dan Bass: "Re: Is the GAC dynamic?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|