Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Sub New ( _
projectInstance As ProjectInstance, _
targetsToBuild As String(), _
hostServices As HostServices, _
flags As BuildRequestDataFlags _
)
public BuildRequestData(
ProjectInstance projectInstance,
string[] targetsToBuild,
HostServices hostServices,
BuildRequestDataFlags flags
)
public:
BuildRequestData(
ProjectInstance^ projectInstance,
array<String^>^ targetsToBuild,
HostServices^ hostServices,
BuildRequestDataFlags flags
)
new :
projectInstance:ProjectInstance *
targetsToBuild:string[] *
hostServices:HostServices *
flags:BuildRequestDataFlags -> BuildRequestData
public function BuildRequestData(
projectInstance : ProjectInstance,
targetsToBuild : String[],
hostServices : HostServices,
flags : BuildRequestDataFlags
)
Parameters
projectInstance
Type: Microsoft.Build.Execution.ProjectInstanceThe instance to build.
targetsToBuild
Type: array<System.String[]The targets to build.
hostServices
Type: Microsoft.Build.Execution.HostServicesThe host services to use, if any. May be null.
flags
Type: Microsoft.Build.Execution.BuildRequestDataFlagsThe flags to use for the build.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.