Publish.GacRemove(String) Publish.GacRemove(String) Publish.GacRemove(String) Publish.GacRemove(String) Method

Definition

Removes an assembly from the global assembly cache.

public:
 virtual void GacRemove(System::String ^ AssemblyPath);
public void GacRemove (string AssemblyPath);
abstract member GacRemove : string -> unit
override this.GacRemove : string -> unit
Public Sub GacRemove (AssemblyPath As String)

Parameters

AssemblyPath
String String String String

The file system path for the assembly.

Implements

Exceptions

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

-or-

The caller does not have path discovery permission.

An assembly or module was loaded twice with two different evidences.

Security

SecurityPermission
for the ability to access unmanaged code. Associated enumeration: UnmanagedCode

Applies to