Articles → .NET → Adding Assembly In GAC
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
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
Adding Assembly To GAC
gacutil /i GACLibrary.dll
Click to Enlarge