Adding and Removing Assemblies to the CF GAC

J

Jatin Sethi

Hi Everyone:
I have been researching for a way to dynamically add and remove assemblies
to the CF GAC. There are several ways of doing this on the desktop GAC. But
I have not come across any way on the CF.

Any assistance in determining this will be much appreciated. The main idea
behind doing this is to perform assembly updates at run-time.

Thanks,
Jatin Sethi
 
L

Lucas Canavan [MSFT]

--------------------
From: "Jatin Sethi" <[email protected]>
Subject: Adding and Removing Assemblies to the CF GAC
Date: Mon, 29 Nov 2004 13:21:41 -0500
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: xltpat1.symbol.com 167.206.235.5
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.compactframework:65971
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi Everyone:
I have been researching for a way to dynamically add and remove assemblies
to the CF GAC. There are several ways of doing this on the desktop GAC. But
I have not come across any way on the CF.

Any assistance in determining this will be much appreciated. The main idea
behind doing this is to perform assembly updates at run-time.

Thanks,
Jatin Sethi
Hi Jatin,

From the .NET CF FAQ
(http://msdn.microsoft.com/smartclient/understanding/netcf/FAQ/)

"1.32. How do I programmatically replace Assemblies in the Global Assembly
Cache (GAC)?

One can install and remove Assemblies directly to and from the GAC by
programmatically launching cgacutil.
Remove assemblies from the GAC using the -u option
Install assemblies to the GAC using the -i option
It is typically safest to remove the Assembly before reinstalling it. "

Regards,
Lucas Canavan | Support Professional | Microsoft Developer Support |
B Comp (Info Sys) | MCSD | MCSD for .NET | MCDBA

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top