"julien" <ju****@sobrier.net> escribió en el mensaje
news:42***********************@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