Partilhar via


IBuildService.GetDependencyBuildConfigurationAsync Método

Definição

Obter o contexto de configuração de build do arquivo de projeto de dependência

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::Build::IBuildConfigurationContext ^> ^ GetDependencyBuildConfigurationAsync(System::String ^ projectFile, System::String ^ dependencyProjectFile, Microsoft::VisualStudio::Workspace::Build::IBuildConfigurationContext ^ buildConfigurationContext, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext> GetDependencyBuildConfigurationAsync (string projectFile, string dependencyProjectFile, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetDependencyBuildConfigurationAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext>
Public Function GetDependencyBuildConfigurationAsync (projectFile As String, dependencyProjectFile As String, buildConfigurationContext As IBuildConfigurationContext, cancellationToken As CancellationToken) As Task(Of IBuildConfigurationContext)

Parâmetros

projectFile
String

Projeto de destino para resolve a dependência

dependencyProjectFile
String

O projeto de dependência de nosso destino

buildConfigurationContext
IBuildConfigurationContext

O contexto de configuração de build original

cancellationToken
CancellationToken

Token de cancelamento opcional

Retornos

Um contexto de configuração de build para o projeto de destino resolve

Aplica-se a