Publish.GacRemove(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
AssemblyPath
is null
.
AssemblyPath
is empty.
AssemblyPath
is not found.
An assembly or module was loaded twice with two different evidences.
AssemblyPath
is not a valid assembly.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om