Freigeben über


BuildRequestData Constructors

Definition

Constructs build request data for build requests based on project instances.

Overloads

BuildRequestData(ProjectInstance, String[])

Constructs a BuildRequestData for build requests based on project instances.

BuildRequestData(ProjectInstance, String[], HostServices)

Constructs a BuildRequestData for build requests based on project instances.

BuildRequestData(ProjectInstance, String[], HostServices, BuildRequestDataFlags)

Constructs a BuildRequestData for build requests based on project instances.

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

Constructs a BuildRequestData for build requests based on project instances.

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

Constructs a BuildRequestData for build requests based on project files.

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

Constructs a BuildRequestData for build requests based on project instances.

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

Constructs a BuildRequestData for build requests based on project files.

BuildRequestData(String, IDictionary<String,String>, String, String[], HostServices, BuildRequestDataFlags, RequestedProjectState)

Constructs a BuildRequestData for build requests based on project files.

BuildRequestData(ProjectInstance, String[])

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project instances.

public:
 BuildRequestData(Microsoft::Build::Execution::ProjectInstance ^ projectInstance, cli::array <System::String ^> ^ targetsToBuild);
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild);
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] -> Microsoft.Build.Execution.BuildRequestData
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectInstance As ProjectInstance, targetsToBuild As String())

Parameters

projectInstance
ProjectInstance

The instance to build.

targetsToBuild
String[]

The targets to build.

Attributes

Applies to

BuildRequestData(ProjectInstance, String[], HostServices)

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project instances.

public:
 BuildRequestData(Microsoft::Build::Execution::ProjectInstance ^ projectInstance, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices);
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Execution.BuildRequestData
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectInstance As ProjectInstance, targetsToBuild As String(), hostServices As HostServices)

Parameters

projectInstance
ProjectInstance

The instance to build.

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

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

Attributes

Applies to

BuildRequestData(ProjectInstance, String[], HostServices, BuildRequestDataFlags)

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project instances.

public:
 BuildRequestData(Microsoft::Build::Execution::ProjectInstance ^ projectInstance, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags);
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags);
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectInstance As ProjectInstance, targetsToBuild As String(), hostServices As HostServices, flags As BuildRequestDataFlags)

Parameters

projectInstance
ProjectInstance

The instance to build.

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

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

flags
BuildRequestDataFlags

Flags controlling this build request.

Applies to

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

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project instances.

public:
 BuildRequestData(Microsoft::Build::Execution::ProjectInstance ^ projectInstance, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags, System::Collections::Generic::IEnumerable<System::String ^> ^ propertiesToTransfer);
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable<string> propertiesToTransfer);
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags * seq<string> -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectInstance As ProjectInstance, targetsToBuild As String(), hostServices As HostServices, flags As BuildRequestDataFlags, propertiesToTransfer As IEnumerable(Of String))

Parameters

projectInstance
ProjectInstance

The instance to build.

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

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

flags
BuildRequestDataFlags

Flags controlling this build request.

propertiesToTransfer
IEnumerable<String>

The list of properties whose values should be transferred from the project to any out-of-proc node.

Applies to

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

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project files.

public:
 BuildRequestData(System::String ^ projectFullPath, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::String ^ toolsVersion, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices);
public BuildRequestData (string projectFullPath, System.Collections.Generic.IDictionary<string,string> globalProperties, string toolsVersion, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildRequestData (string projectFullPath, System.Collections.Generic.IDictionary<string,string> globalProperties, string toolsVersion, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
new Microsoft.Build.Execution.BuildRequestData : string * System.Collections.Generic.IDictionary<string, string> * string * string[] * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Execution.BuildRequestData
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Execution.BuildRequestData : string * System.Collections.Generic.IDictionary<string, string> * string * string[] * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectFullPath As String, globalProperties As IDictionary(Of String, String), toolsVersion As String, targetsToBuild As String(), hostServices As HostServices)

Parameters

projectFullPath
String

The full path to the project file.

globalProperties
IDictionary<String,String>

The global properties which should be used during evaluation of the project. Cannot be null.

toolsVersion
String

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

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

The host services to use. May be null.

Attributes

Applies to

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

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project instances.

public:
 BuildRequestData(Microsoft::Build::Execution::ProjectInstance ^ projectInstance, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags, System::Collections::Generic::IEnumerable<System::String ^> ^ propertiesToTransfer, Microsoft::Build::Execution::RequestedProjectState ^ requestedProjectState);
public BuildRequestData (Microsoft.Build.Execution.ProjectInstance projectInstance, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable<string> propertiesToTransfer, Microsoft.Build.Execution.RequestedProjectState requestedProjectState);
new Microsoft.Build.Execution.BuildRequestData : Microsoft.Build.Execution.ProjectInstance * string[] * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags * seq<string> * Microsoft.Build.Execution.RequestedProjectState -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectInstance As ProjectInstance, targetsToBuild As String(), hostServices As HostServices, flags As BuildRequestDataFlags, propertiesToTransfer As IEnumerable(Of String), requestedProjectState As RequestedProjectState)

Parameters

projectInstance
ProjectInstance

The instance to build.

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

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

flags
BuildRequestDataFlags

Flags controlling this build request.

propertiesToTransfer
IEnumerable<String>

The list of properties whose values should be transferred from the project to any out-of-proc node.

requestedProjectState
RequestedProjectState

A RequestedProjectState describing properties, items, and metadata that should be returned. Requires setting ProvideSubsetOfStateAfterBuild.

Applies to

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

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project files.

public:
 BuildRequestData(System::String ^ projectFullPath, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::String ^ toolsVersion, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags);
public BuildRequestData (string projectFullPath, System.Collections.Generic.IDictionary<string,string> globalProperties, string toolsVersion, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags);
new Microsoft.Build.Execution.BuildRequestData : string * System.Collections.Generic.IDictionary<string, string> * string * string[] * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectFullPath As String, globalProperties As IDictionary(Of String, String), toolsVersion As String, targetsToBuild As String(), hostServices As HostServices, flags As BuildRequestDataFlags)

Parameters

projectFullPath
String

The full path to the project file.

globalProperties
IDictionary<String,String>

The global properties which should be used during evaluation of the project. Cannot be null.

toolsVersion
String

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

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

The host services to use. May be null.

Applies to

BuildRequestData(String, IDictionary<String,String>, String, String[], HostServices, BuildRequestDataFlags, RequestedProjectState)

Source:
BuildRequestData.cs

Constructs a BuildRequestData for build requests based on project files.

public:
 BuildRequestData(System::String ^ projectFullPath, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::String ^ toolsVersion, cli::array <System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags, Microsoft::Build::Execution::RequestedProjectState ^ requestedProjectState);
public BuildRequestData (string projectFullPath, System.Collections.Generic.IDictionary<string,string> globalProperties, string toolsVersion, string[] targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags, Microsoft.Build.Execution.RequestedProjectState requestedProjectState);
new Microsoft.Build.Execution.BuildRequestData : string * System.Collections.Generic.IDictionary<string, string> * string * string[] * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags * Microsoft.Build.Execution.RequestedProjectState -> Microsoft.Build.Execution.BuildRequestData
Public Sub New (projectFullPath As String, globalProperties As IDictionary(Of String, String), toolsVersion As String, targetsToBuild As String(), hostServices As HostServices, flags As BuildRequestDataFlags, requestedProjectState As RequestedProjectState)

Parameters

projectFullPath
String

The full path to the project file.

globalProperties
IDictionary<String,String>

The global properties which should be used during evaluation of the project. Cannot be null.

toolsVersion
String

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

targetsToBuild
String[]

The targets to build.

hostServices
HostServices

The host services to use. May be null.

requestedProjectState
RequestedProjectState

A RequestedProjectState describing properties, items, and metadata that should be returned. Requires setting ProvideSubsetOfStateAfterBuild.

Applies to