Articles → .NET → Adding Assembly in GAC

Click to Enlarge

•  Go to command prompt

•  Go to the directory where the dll file is placed .In this case the path is d:\GacLibrary\GacLibrary\Bin\debug as shown in fig below

Click to Enlarge

•  Write the following command on the command prompt

`sn -k GACLibrary.snk`

Click to Enlarge

•  Right click on the project in the solution explorer and click properties

Click to Enlarge

•  Go to the signing options and give the path of file GACLibrary.snk as shown in figure below

Click to Enlarge

`gacutil  /i GACLibrary.dll`

Click to Enlarge

 Posted By  - Karan Gupta Posted On  - Sunday, December 20, 2009

Query/Feedback

 Your Email Id Subject Query/Feedback Characters remaining 250