Hi,
I know the assembly name, dll name and class name, and it is in gac. How do
I know its full name including its public key and version?
Actually what I want to do is to use .Net reflection to load an assembly
from GAC first. If it is not in the gac, let user provide its file path and
then load it. How do I load a dll from GAC without knowing its full name?
Which namespace has GAC related APIs?
Thanks in advance!!!
Cindy
Dmytro Lapshyn [MVP] - 17 Nov 2005 07:29 GMT
Hi,
To load an assembly from ther GAC, you don't need an API. Simple Assembly.LoadWithPartialName should do the trick.

Signature
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
> Hi,
>
[quoted text clipped - 8 lines]
> Thanks in advance!!!
> Cindy