Share via


IBuildService.GetProjectBuildListAsync Method

Definition

Return a list of the projects dependencies based on a project file and optional target

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IList<Microsoft::VisualStudio::Workspace::Build::IProjectBuild ^> ^> ^ GetProjectBuildListAsync(System::String ^ projectFile, System::String ^ projectFileTarget, Microsoft::VisualStudio::Workspace::Build::IBuildConfigurationContext ^ buildConfigurationContext, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.VisualStudio.Workspace.Build.IProjectBuild>> GetProjectBuildListAsync (string projectFile, string projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.VisualStudio.Workspace.Build.IProjectBuild>> GetProjectBuildListAsync (string projectFile, string? projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetProjectBuildListAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.VisualStudio.Workspace.Build.IProjectBuild>>
Public Function GetProjectBuildListAsync (projectFile As String, projectFileTarget As String, buildConfigurationContext As IBuildConfigurationContext, cancellationToken As CancellationToken) As Task(Of IList(Of IProjectBuild))

Parameters

projectFile
String

The project file path

projectFileTarget
String

Optional project file target

buildConfigurationContext
IBuildConfigurationContext

A build configuration context

cancellationToken
CancellationToken

The cancellation token

Returns

List of projects involved in this dependency graph

Applies to