IBuildService.GetDependencyBuildConfigurationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the dependency project file build configuration context
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);
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)
Parameters
- projectFile
- String
Target project to resolve the dependency
- dependencyProjectFile
- String
The dependency project from our target
- buildConfigurationContext
- IBuildConfigurationContext
The original build configuration context
- cancellationToken
- CancellationToken
Cancellation token
Returns
A build configuration context for the target project to resolve