IBuildService.GetDependencyBuildConfigurationAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得相依性項目檔組建組態內容
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)
參數
- projectFile
- String
解析相依性的目標專案
- dependencyProjectFile
- String
目標中的相依性專案
- buildConfigurationContext
- IBuildConfigurationContext
原始組建組態內容
- cancellationToken
- CancellationToken
選擇性取消標記
傳回
要解析之目標項目的組建組態內容