Can the path of GAC be changed?
I am working on a project where i need to identify all the static information regarding .net framework. I just want to make sure whether the gac path work as static information or not.
Can the path of GAC be changed?
I am working on a project where i need to identify all the static information regarding .net framework. I just want to make sure whether the gac path work as static information or not.
No. It's unlikely that the path will ever change (by someone other than Microsoft). Although .NET4 assemblies are GAC:ed in a new folder.
Update
Here is a sample tool using fusion: http://www.codeproject.com/KB/dotnet/undocumentedfusion.aspx
I don't think it's a good idea at all. But anyway: http://www.codeproject.com/KB/dotnet/demystifygac.aspx has a section the describes how to relocate the GAC. The document is a bit outdated, so not shure if it still works.
The GAC folder is in fact a part of Windows OS and you must not change the path to it (if you are not evil-doer)