471,599 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Move assembly to GAC from C#

EAI
Is there a way to Install/UnInstall an assembly to GAC?

Thanks!
Nov 17 '05 #1
2 1770
EAI
Never mind

this works

System.EnterpriseServices.Internal.Publish foo = new
System.EnterpriseServices.Internal.Publish();
foo.GacInstall("myassembly.dll");

"EAI" <EA*@EAI.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Is there a way to Install/UnInstall an assembly to GAC?

Thanks!

Nov 17 '05 #2
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
EAI wrote:
Is there a way to Install/UnInstall an assembly to GAC?

Thanks!

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by MoriCristian | last post: by
3 posts views Thread by Grant Merwitz | last post: by
2 posts views Thread by alexander.glass | last post: by
85 posts views Thread by fermineutron | last post: by
4 posts views Thread by =?Utf-8?B?RXJpYyBFaWNrZQ==?= | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.