FlatTrackingData.IsUpToDate Method (TaskLoggingHelper, UpToDateCheckType, FlatTrackingData, FlatTrackingData)

 

Simple check of up to date state according to the tracking data and the UpToDateCheckType.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

public static bool IsUpToDate(
	TaskLoggingHelper Log,
	UpToDateCheckType upToDateCheckType,
	FlatTrackingData inputs,
	FlatTrackingData outputs
)

Parameters

Log
Type: Microsoft.Build.Utilities.TaskLoggingHelper

TaskLoggingHelper from the host task

upToDateCheckType
Type: Microsoft.Build.Utilities.UpToDateCheckType

UpToDateCheckType to use

inputs
Type: Microsoft.Build.Utilities.FlatTrackingData

FlatTrackingData structure containing the inputs

outputs
Type: Microsoft.Build.Utilities.FlatTrackingData

FlatTrackingData structure containing the outputs

Return Value

Type: System.Boolean

Returns true if everything is up to date; false otherwise.

No tracking log compaction will take place when using this overload

Return to top
Show: