Uninstalls assemblies.
Namespace: MSBuild.Community.Tasks.Install
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Class UninstallAssembly Inherits InstallAssembly |
C# |
---|
public class UninstallAssembly : InstallAssembly |
C++ |
---|
ref class UninstallAssembly : InstallAssembly |
J# |
---|
public class UninstallAssembly extends InstallAssembly |
JScript |
---|
public class UninstallAssembly extends InstallAssembly |
Example
Uninstall multiple assemblies by specifying the file names:
Copy Code | |
---|---|
<UninstallAssembly AssemblyFiles="Engine.dll;Presenter.dll" /> |
Copy Code | |
---|---|
<UninstallAssembly AssemblyNames="Engine,Version=1.5.0.0,Culture=neutral" LogFile=" "/> |
Remarks
Uses InstallUtil.exe to execute the
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.Install.InstallAssembly
MSBuild.Community.Tasks.Install.UninstallAssembly
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.Install.InstallAssembly
MSBuild.Community.Tasks.Install.UninstallAssembly
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
See Also
Documentation version 1.0.0.0.