Should you put config files in the GAC with assemblies?
-
Hi, This is my first post here so please be gentle :-) I know it is possible to copy config files into the GAC such that an assembly can read from it based on its own location. This avoids having to partially hard code a location for the config file. However, is this good practice? What is the best approach for doing this? Thanks in advance :-D P
-
Hi, This is my first post here so please be gentle :-) I know it is possible to copy config files into the GAC such that an assembly can read from it based on its own location. This avoids having to partially hard code a location for the config file. However, is this good practice? What is the best approach for doing this? Thanks in advance :-D P
Really? I thought GAC stood for "Global *Assembly* Cache"? Regards Senthil _____________________________ My Blog | My Articles | WinMacro
-
Really? I thought GAC stood for "Global *Assembly* Cache"? Regards Senthil _____________________________ My Blog | My Articles | WinMacro
<I though GAC stood for "Global *Assembly* Cache"?> Precisely my point, hence why I asked if this was good practice and if there was a "good" way of referencing configuration information from the GAC. If the only solution is to hard reference the config file then that is what I have to do. However, if there is another way, then I would really be interested. Btw - thanks for the reply ;) P.