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

Author posted by Jitendra on Posted on under category Categories Microsoft and tagged as Tags , with Leave a comment on How to add DLL (Dynamic linking library) in GAC (Global assembly cache)

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”

Related posts

    Leave a Reply

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