FlatTrackingData.IsUpToDate Method (Task, UpToDateCheckType, ITaskItem[], ITaskItem[])

 

Checks to see if the tracking data indicates that everything is up to date according to 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(
	Task hostTask,
	UpToDateCheckType upToDateCheckType,
	ITaskItem[] readTLogNames,
	ITaskItem[] writeTLogNames
)

Parameters

hostTask
Type: Microsoft.Build.Utilities.Task

The host task.

upToDateCheckType
Type: Microsoft.Build.Utilities.UpToDateCheckType

UpToDateCheckType

readTLogNames
Type: Microsoft.Build.Framework.ITaskItem[]

The array of read tlogs

writeTLogNames
Type: Microsoft.Build.Framework.ITaskItem[]

The array of write tlogs

Return Value

Type: System.Boolean

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

If things are not up to date, then the TLogs are compacted to remove all entries in preparation to re-track execution of work.

Return to top
Show: