How to add DLL (Dynamic linking library) in GAC (Global assembly cache)

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.

Add Assembly in GAC

Method 3:

Paste the Dll / Assembly in folder “C:WINDOWSassembly”

Posted

in

by

Tags:


Related Posts

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Jitendra Zaa

Subscribe now to keep reading and get access to the full archive.

Continue Reading