[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Demis

10/16/2002 11:07:00 AM

I read that there are two ways to install an assembly into the global
assembly cache:
a.. Using Microsoft Windows Installer 2.0.
b.. Using the Global Assembly Cache tool (Gacutil.exe).
But can I install an assembly into the Gac using code?


1 Answer

Mattias Sjögren

10/16/2002 12:30:00 PM

0


>But can I install an assembly into the Gac using code?

Yes, there's a sample included with the SDK that does this. Look in
your

FrameworkSDK\Samples\Technologies\Interop\Advanced\comreg

directory, specificly the fusioninstall.cs file. Also, check out

DOC: Global Assembly Cache (GAC) APIs Are Not Documented in the .NET
Framework Software Development Kit (SDK) Documentation
http://support.microsoft.com/?scid=kb;en-...



Mattias

===
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.n...
Please reply only to the newsgroup.