473,396 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1835
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ken Durden | last post by:
I'm working on a client-server application where the client is controlling two devices (aka servers) which both implement the same interface contract. We have a set of about 4 assemblies which...
6
by: MoriCristian | last post by:
Just a question. If i have an app with a dll version 1.5 and I replace it with version 1.6 everithing works fine. If i change the strong name however the app crash, but this is fine. My curiosity...
2
by: Paul Ingles | last post by:
Hi, I have an ASP.NET Web Application which uses a number of controls in an external strongly named assembly. Whenever I view a page that uses one of the controls within the strongly named...
3
by: Grant Merwitz | last post by:
Hi I am creating an assembly which needs to be accessibly from an ASP application. I have made this Assembly ComVisible(true), and after using regasm and copying this to windows\assembly file i...
2
by: alexander.glass | last post by:
I have a strange problem and I cant fix it because I don't understand how assembly dependencies work. I created a project "project 1" that used two assemblies: "assembly xyz" and "assembly 123". ...
85
by: fermineutron | last post by:
Some compilers support __asm{ } statement which allows integration of C and raw assembly code. A while back I asked a question about such syntax and was told that __asm is not a part of a C...
4
by: =?Utf-8?B?RXJpYyBFaWNrZQ==?= | last post by:
When I reference an assembly in vs.net it will move the .dll and xml comments to the same directory as the application when it is compiled. I wan't to cause the same behavior with a license file....
1
by: divya | last post by:
Hi, I made an assembly (class library project) in Dot net and wanted the assembly to have COM interoperability successfully got the assembly working with VB6 performing following steps: 1.Create...
0
balabaster
by: balabaster | last post by:
Hi all, I'm creating a class factory and a bunch of adapters to allow in house applications to communicate with mobile applications over different cellular networks. I've got my class...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.