We can add the DLL in GAC (Global assembly cache) by following three methods:
Method 1:
The following command installs the assembly mydll.dll into the global assembly cache:
gacutil /i mydll.dll
The following command removes the assembly hello from the global assembly cache as long as no reference counts exist for the assembly.
gacutil /u hello
Location of gacUtil.exe:
Normally you will find at :
C:Program FilesMicrosoft SDKsWindowsv6.0Abin
For more information, read this article.
Method 2:
- Go to Control Panel -> Administrative tools -> Microsoft .NET Framework 1.1 Configuration
- click on “Manage the Assembly Cache”.
- click “Add an Assembly to the Assembly Cache”.
- Select the dll to install assembly and same wizard can be used to remove the assembly.
Method 3:
Paste the Dll / Assembly in folder “C:WINDOWSassembly”
Leave a Reply