IfYouSaySo
Well-known member
Is there some standard way to load an assembly (that is in the GAC)? OK, I know there is Assembly.Load(ByVal name As AssemblyName). But I've been trying to load one of the standard assemblies this way--for example "System"--and it keeps throwing file not found. I read somewhere on the net that in order to load an assembly that is in the GAC, you need the AssemblyName to specify the name, version, and public key. Well...the name and version are easy to come by, but I'm not sure how to come up with the public key. For example, if I go to C:\Windows\Assembly, Explorer shows me the "public key token", but I'm pretty sure that is not the same as the public key. Any ideas??