Search code examples
ajaxcontroltoolkit

How to install ajaxControlToolKit.dll in gac


I have two different version dll of ajaxcontroltoolkit in a project, i can not put both in bin folder so i need to install them in gac. How to do it.


Solution

  • In order to add an assembly into the GAC, the assembly needs to be strongly named. If you have the code, you can do it and then add it to the GAC. If you don't have the code but the assembly itself, you still can strong name the assembly using the Assembly Linker :

    http://msdn.microsoft.com/en-us/library/xc31ft41.aspx

    al /out:MyAssembly.dll MyModule.netmodule /keyfile:sgKey.snk

    Regards