IBuildEngine3.BuildProjectFilesInParallel Method (String[], String[], IDictionary[], IList<String>[], String[], Boolean)

 

Allows tasks to initiate a build on a project file

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.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

BuildEngineResult BuildProjectFilesInParallel(
	string[] projectFileNames,
	string[] targetNames,
	IDictionary[] globalProperties,
	IList<string>[] removeGlobalProperties,
	string[] toolsVersion,
	bool returnTargetOutputs
)

Parameters

projectFileNames
Type: System.String[]

The project to build.

targetNames
Type: System.String[]

The targets in the project to build (can be null).

globalProperties
Type: System.Collections.IDictionary[]

An array of IDictionary of additional global properties to apply to the child project (array entries can be null).

The keys and should both be strings.

removeGlobalProperties
Type: System.Collections.Generic.IList<String>[]

A list of global properties which should be removed.

toolsVersion
Type: System.String[]

A tools version recognized by the Engine that will be used during this build (can be null).

returnTargetOutputs
Type: System.Boolean

Should the target outputs be returned in the BuildEngineResult.

Return Value

Type: Microsoft.Build.Framework.BuildEngineResult

If the build is successful, the outputs of the specified targets are returned.

Return to top
Show: