BuildRequestData Constructor (ProjectInstance, String[], HostServices, BuildRequestDataFlags, IEnumerable<String>)
.NET Framework 4.5
Constructs a BuildRequestData for build requests based on project instances.
Namespace: Microsoft.Build.Execution
Assembly: Microsoft.Build (in Microsoft.Build.dll)
public BuildRequestData( ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags, IEnumerable<string> propertiesToTransfer )
Parameters
- projectInstance
- Type: Microsoft.Build.Execution.ProjectInstance
The instance to build.
- targetsToBuild
- Type: System.String[]
The targets to build.
- hostServices
- Type: Microsoft.Build.Execution.HostServices
The host services to use, if any. May be null.
- flags
- Type: Microsoft.Build.Execution.BuildRequestDataFlags
The flags to use for the build.
- propertiesToTransfer
- Type: System.Collections.Generic.IEnumerable<String>
The list of properties to transfer from the project to any out of process node.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.