How to: Deploy Assembly to Global Assembly Cache (GAC)

13. Juli 2007 · Thema: Programming

There are several ways to deploy an assembly into the global assembly cache:

  • Use an installer designed to work with the global assembly cache. This is the preferred option for installing assemblies into the global assembly cache.
  • Use a developer tool called the Global Assembly Cache tool (Gacutil.exe), provided by the .NET Framework SDK.
  • Use Windows Explorer to drag assemblies into the cache.

    Note   In deployment scenarios, use Windows Installer 2.0 to install assemblies into the global assembly cache. Use Windows Explorer or the Global Assembly Cache tool only in development scenarios, because they do not provide assembly reference counting and other features provided when using the Windows Installer.

Quelle: MSDN

0 Kommentare
Hinterlasse einen Kommentar!

Kommentar:

Diskussion zum Beitrag als RSS 2.0 Feed abonnieren.