all groups > dotnet internationalization > september 2006 >
You're in the

dotnet internationalization

group:

Deploy satellite assemblies into the GAC


Deploy satellite assemblies into the GAC Nico Cizik
9/15/2006 9:50:49 AM
dotnet internationalization: Hello,

Is there a way to deploy strong named satellite assemblies into the GAC of a
user's machine without the use of gacutil.exe or the windows installer? I
have tried using the GacInstall() routine of the Publish class in the
EnterpriseServices.Internal namespace, but this seems to only work with
normal assemblies, not satellite assemblies. Do I have any other options?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com

RE: Deploy satellite assemblies into the GAC GarrMc NO[at]SPAM online.microsoft.com
9/16/2006 12:20:44 AM
I wouldn't rely on the EnterpriseServices.Internal namespace, if for no
other reason than it's been deprecated.

While not automated, you could use the .NET Framework Configuration MMC
snap-in to add assemblies to the GAC. It sounds like you want to deploy
these programmatically though. Out of curiosity, is there a particular
reason you don't want to leverage gacutil.exe?

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
[quoted text, click to view]
Re: Deploy satellite assemblies into the GAC Nico Cizik
9/22/2006 8:48:53 AM
Hi Garrett,

Thanks for the response.

The reason I wanted to steer clear of using gacutil.exe is: A.) it is not
redistributable, and B.) I have yet to determine a reliable way to find
where on a user's hard drive the application is installed. I have two PC's
and gacutil is installed in two different places. One in the VS directory
and one in the .NET directory. Is there perhaps a registry setting I can
check to see where it is located?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com

[quoted text, click to view]

Re: Deploy satellite assemblies into the GAC GarrMc NO[at]SPAM online.microsoft.com
10/17/2006 9:48:15 PM
Unfortunately, the only guarentee is that it's installed with the SDK
(%mssdk%\bin). Windows Installer is still your best bet to employ
assemblies to the GAC.

--------------------
[quoted text, click to view]

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
AddThis Social Bookmark Button