IBuildUpToDateCheckProvider.IsUpToDateAsync 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.
Check if project file is up to date based on a build configuration
public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, string buildConfiguration, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string? projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext? buildConfigurationContext, string? buildConfiguration, System.Threading.CancellationToken cancellationToken = default);
abstract member IsUpToDateAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsUpToDateAsync (projectFile As String, projectFileTarget As String, buildConfigurationContext As IBuildConfigurationContext, buildConfiguration As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- projectFile
- String
The project file to evaluate
- projectFileTarget
- String
Optional target in the project
- buildConfigurationContext
- IBuildConfigurationContext
Optional build configuration context
- buildConfiguration
- String
An optional build configuration
- cancellationToken
- CancellationToken
Cancellation token
Returns
true of if the project file is up to date or false otherwise