K
Karun Karunakaran
Hi,
I have a strong named dll that is in the GAC. I am trying
to load it at runtime using Reflection.Assembly.Load. But
I get a FileNotFound exception, and the fusion log shows
that .NET is searching for the file only in the local bin
folder. I have tried both Load(String) and Load
(AssemblyName) versions - in the latter specifying the
Culture, Version and PublicKeyToken properties - but it
doesn't work. How do I force it to load from the GAC?
(There is no versioning problem, since the version has
been explicitly set to 1.0.0.0)
Thanks,
Karun.
I have a strong named dll that is in the GAC. I am trying
to load it at runtime using Reflection.Assembly.Load. But
I get a FileNotFound exception, and the fusion log shows
that .NET is searching for the file only in the local bin
folder. I have tried both Load(String) and Load
(AssemblyName) versions - in the latter specifying the
Culture, Version and PublicKeyToken properties - but it
doesn't work. How do I force it to load from the GAC?
(There is no versioning problem, since the version has
been explicitly set to 1.0.0.0)
Thanks,
Karun.