Programmatic access to the GAC

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to be able to access the contents of the GAC dynamically - i.e. to be
able to list the contents of the GAC, access their properties and then
dynamically use an assembly selected by the user. This seems to consist of 2
problems:

1. I need to find out the location of the GAC directory on a system.
2. I need to get access to the properties which can be passed to
Assembly.Load to load the selected version of an assembly.

Can anyone give me some hints on this?

Robert.
 
I have not used the APIs, but you might want to look:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317540

Perhaps this one also:
http://www.codeproject.com/dotnet/undocumentedfusion.asp

Hope this helps.

message I need to be able to access the contents of the GAC dynamically - i.e. to be
able to list the contents of the GAC, access their properties and then
dynamically use an assembly selected by the user. This seems to consist of 2
problems:

1. I need to find out the location of the GAC directory on a system.
2. I need to get access to the properties which can be passed to
Assembly.Load to load the selected version of an assembly.

Can anyone give me some hints on this?

Robert.
 
Back
Top