How do I install the component into Global Assembly Cache (GAC)?

0 votes
asked Mar 13, 2012 by Rebex KB (8,190 points)
edited Sep 24, 2012

How do I install the component into Global Assembly Cache (GAC)?

1 Answer

0 votes
answered Mar 13, 2012 by Rebex KB (8,190 points)
edited Sep 24, 2012
 
Best answer

There are two ways:

  • Start .NET Framework Configuration Management Console (Start -> Settings -> Control Panel -> Administrative Tools -> Microsoft .NET Framework Configuration).

    Then select "Assembly Cache" and click "Add an Assembly to the Assembly Cache" to add Rebex.*.dll into GAC.

  • Use the gacutil command line utility. It can be usually found in Microsoft.NET\Framework\* subfolder of the Windows folder or inside the .NET Framework SDK tree (Microsoft SDKs\Windows\* subfolder of the Program Files folder. To add .NET 4.0 assemblies use the gacutil from the "NETFX 4.0 Tools" subfolder).

    See the gacutil section in .NET Framework SDK documentation for a full description of the options supported by gacutil.

...