--------------------
>From: "Jatin Sethi" <(E-Mail Removed)>
>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: <(E-Mail Removed)>
>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/smartclien...ing/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.