BuildRequestData Constructor (String, IDictionary<String, String>, String, String[], HostServices)

 

Constructs a BuildRequestData for build requests with a given project path.

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(
	string projectFullPath,
	IDictionary<stringstring> globalProperties,
	string toolsVersion,
	string[] targetsToBuild,
	HostServices hostServices
)

Parameters

projectFullPath
Type: System.String

The full path to the project file.

globalProperties
Type: System.Collections.Generic.IDictionary<StringString>

The global properties to use during evaluation of the project.

toolsVersion
Type: System.String

The tools version to use for the build. May be null.

targetsToBuild
Type: System.String[]

The targets to build.

hostServices
Type: Microsoft.Build.Execution.HostServices

The host services to use, if any. May be null.

Return to top
Show: