Share via


IBuildEngine3.BuildProjectFilesInParallel Method (array<String[], array<String[], array<IDictionary[], array<IList<String>[], array<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)

Syntax

'Declaration
Function BuildProjectFilesInParallel ( _
    projectFileNames As String(), _
    targetNames As String(), _
    globalProperties As IDictionary(), _
    removeGlobalProperties As IList(Of String)(), _
    toolsVersion As String(), _
    returnTargetOutputs As Boolean _
) As BuildEngineResult
BuildEngineResult BuildProjectFilesInParallel(
    string[] projectFileNames,
    string[] targetNames,
    IDictionary[] globalProperties,
    IList<string>[] removeGlobalProperties,
    string[] toolsVersion,
    bool returnTargetOutputs
)
BuildEngineResult BuildProjectFilesInParallel(
    array<String^>^ projectFileNames, 
    array<String^>^ targetNames, 
    array<IDictionary^>^ globalProperties, 
    array<IList<String^>^>^ removeGlobalProperties, 
    array<String^>^ toolsVersion, 
    bool returnTargetOutputs
)
abstract BuildProjectFilesInParallel : 
        projectFileNames:string[] * 
        targetNames:string[] * 
        globalProperties:IDictionary[] * 
        removeGlobalProperties:IList<string>[] * 
        toolsVersion:string[] * 
        returnTargetOutputs:bool -> BuildEngineResult
function BuildProjectFilesInParallel(
    projectFileNames : String[], 
    targetNames : String[], 
    globalProperties : IDictionary[], 
    removeGlobalProperties : IList<String>[], 
    toolsVersion : String[], 
    returnTargetOutputs : boolean
) : BuildEngineResult

Parameters

  • projectFileNames
    Type: array<System.String[]

    The project to build.

  • targetNames
    Type: array<System.String[]

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

  • globalProperties
    Type: array<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: array<IList<String>[]

    A list of global properties which should be removed.

  • toolsVersion
    Type: array<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.

.NET Framework Security

See Also

Reference

IBuildEngine3 Interface

BuildProjectFilesInParallel Overload

Microsoft.Build.Framework Namespace