Installs assemblies.
Namespace: MSBuild.Community.Tasks.Install
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Install multiple assemblies by specifying the file names:
Copy Code | |
---|---|
<InstallAssembly AssemblyFiles="Engine.dll;Presenter.dll" /> |
Copy Code | |
---|---|
<InstallAssembly AssemblyNames="Engine,Version=1.5.0.0,Culture=neutral" LogFile=" "/> |
Copy Code | |
---|---|
<MSBuild Projects="Project1.csproj;Project2.csproj"> <Output TaskParameter="TargetOutputs" ItemName="ProjectBinaries" /> </MSBuild> <InstallAssembly AssemblyFiles="@(ProjectBinaries)" /> |
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.