Freigeben über


IBuildService.BuildProjectAsync Methode

Definition

Erstellen eines Projekts durch Aufrufen von Buildkontextaktionen eines Anbieters

public:
 System::Threading::Tasks::Task<bool> ^ BuildProjectAsync(System::String ^ projectFile, System::String ^ projectFileTarget, System::String ^ buildConfiguration, Guid buildContextType, IProgress<Microsoft::VisualStudio::Workspace::IFileContextActionProgressUpdate ^> ^ progress, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> BuildProjectAsync (string projectFile, string projectFileTarget, string buildConfiguration, Guid buildContextType, IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate> progress, System.Threading.CancellationToken cancellationToken);
abstract member BuildProjectAsync : string * string * string * Guid * IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function BuildProjectAsync (projectFile As String, projectFileTarget As String, buildConfiguration As String, buildContextType As Guid, progress As IProgress(Of IFileContextActionProgressUpdate), cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

projectFile
String

Der Projektdateikontext

projectFileTarget
String

Optionales Projektziel

buildConfiguration
String

Die Buildkonfiguration

buildContextType
Guid

Der gewünschte Buildkontexttyp

progress
IProgress<IFileContextActionProgressUpdate>

Ein Statusmonitor

cancellationToken
CancellationToken

Optionales Abbruchtoken

Gibt zurück

Abschlussaufgabe mit erfolgreichem Buildergebnis

Gilt für: