Publish.GacInstall Method

Installs an assembly in the global assembly cache.

Namespace: System.EnterpriseServices.Internal
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)

public void GacInstall (
	string AssemblyPath
public final void GacInstall (
	String AssemblyPath
public final function GacInstall (
	AssemblyPath : String



The file system path for the assembly.

Exception typeCondition


A caller in the call chain does not have permission to access unmanaged code.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0