Installing a DLL to Global assembly cache (GAC)

Posted by DAXShekhar on Geeks with Blogs See other posts from Geeks with Blogs or by DAXShekhar
Published on Sat, 08 May 2010 05:03:27 GMT Indexed on 2010/05/11 2:55 UTC
Read the original article Hit count: 435

Filed under:

Install you DLL assembly by using the ‘gacutil.exe’, before installing the DLL ensure it has a strong name, to assign a strong name refer to the link Assigning a DLL strong name .

 

1) open the Command prompt, and navigate to the folder of gacutil.

2) To install a DLL assembly

gacutil /I "C:\[PathToBinDirectoryInVSProject]\gac.dll"

3) To uninstall

gacutil /U  “Name_of_The_DLL”

© Geeks with Blogs or respective owner