Move assembly to GAC from C#

  • Thread starter Thread starter EAI
  • Start date Start date
Never mind

this works

System.EnterpriseServices.Internal.Publish foo = new
System.EnterpriseServices.Internal.Publish();
foo.GacInstall("myassembly.dll");
 
Using the command line you can use

"gacutil -i <assemblyName>.dll" to install a dll into the GAC
"gacutil -u <assemblyName> to uninstall a dll from the GAC

The MSI installer (and most third party installers) also support
installing and uninstalling assembly to the GAC.

Bennie Haelen
 
Back
Top