Hi all,

In the MSDN docs (in article "Installing an Assembly into the Global
Assembly Cache") I read that to install assemblies in the GAC you have to
either create an installer 2.0 project or use gacutil.

However, since .NET 1.1 there is a class called Publish in
System.EnterpriseServices.Internal that has methods to do this as well
(specifically, GacInstall() and GacRemove()). The original function of the
class is to assist in publishing COM interfaces for COM+ apps, but after
using those methods my conclusion is that it just works perfectly with any
assembly. Now I'm wondering: is the MSDN article outdated or is there a
reason not to use these methods that I'm not aware of?

Thanks for any help,
-Jeroen

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to