IBuildUpToDateCheckProvider2.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(System::String ^ projectFile, System::String ^ projectFileTarget, Microsoft::VisualStudio::Workspace::Build::IDependencyBuildConfigurationContext ^ dependencyBuildConfigurationContext, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IDependencyBuildConfigurationContext dependencyBuildConfigurationContext, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string? projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IDependencyBuildConfigurationContext dependencyBuildConfigurationContext, System.Threading.CancellationToken cancellationToken);
abstract member IsUpToDateAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IDependencyBuildConfigurationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsUpToDateAsync (projectFile As String, projectFileTarget As String, dependencyBuildConfigurationContext As IDependencyBuildConfigurationContext, cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- projectFile
- String
The project file to evaluate
- projectFileTarget
- String
Optional target in the project
- dependencyBuildConfigurationContext
- IDependencyBuildConfigurationContext
IDependencyBuildConfigurationContext instance
- cancellationToken
- CancellationToken
Cancellation token
Returns
true of if the project file is up to date or false otherwise