BuildRequestData Constructor (ProjectInstance, String[], HostServices, BuildRequestDataFlags, IEnumerable<String>)

 

Constructs a BuildRequestData for build requests based on project instances.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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.

Return to top
Show: