Assembly Is Added to the GAC
- Last UpdatedMar 17, 2016
- 1 minute read
If the assembly is currently added to the GAC, the user is required to specify the public key token, assembly version, and so on, to load the right assembly from the GAC.
Note: The assembly must be signed with a strong name.
For example,
TestHooks,version=1.0.0.0,culture=neutral,processorarchitecture=MSIL,PublicKeyToken=23106a86e706d0ae;TestHooksNamespace.TestHooksClass;TestHooksMethod
represents the assembly name as TestHooks.dll, version as 1.0.0.0, public key token as 23106a86e706d0ae, and that has the namespace TestHooksNamespace, class name TestHooksClass, and the method name TestHooksMethod.