This documentation is archived and is not being maintained.
FileTracker Class
Visual Studio 2010
This class contains utility functions to encapsulate launching and logging for the Tracker
Assembly: Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)
The FileTracker type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | CreateRootingMarkerResponseFile(array<ITaskItem>) | Given a set of source files in the form of ITaskItem, creates a temporary response file containing the rooting marker that corresponds to those sources. |
![]() ![]() | CreateRootingMarkerResponseFile(String) | Given a rooting marker, creates a temporary response file with that rooting marker in it. |
![]() ![]() | EndTrackingContext | Stops tracking file accesses. |
![]() ![]() | EnsureFileTrackerOnPath() | Prepends the path to the appropriate FileTracker assembly to the PATH environment variable. Used for inproc tracking. |
![]() ![]() | EnsureFileTrackerOnPath(String) | |
![]() ![]() | FileIsExcludedFromDependencies | Test to see if the specified file is excluded from tracked dependencies |
![]() ![]() | FileIsUnderPath | Test to see if the specified file is under the specified path |
![]() ![]() | FindTrackerOnPath | Searches %PATH% for the location of Tracker.exe, and returns the first path that matches.Matching full path to Tracker.exe or null if a matching path is not found. |
![]() ![]() | ForceOutOfProcTracking(ExecutableType) | Determines whether we must track out-of-proc, or whether inproc tracking will work. |
![]() ![]() | ForceOutOfProcTracking(ExecutableType, String, String) | Determines whether we must track out-of-proc, or whether inproc tracking will work. |
![]() ![]() | FormatRootingMarker(ITaskItem) | Construct a rooting marker string from the ITaskItem array of primary sources. |
![]() ![]() | FormatRootingMarker(array<ITaskItem>) | Construct a rooting marker string from the ITaskItem array of primary sources. |
![]() ![]() | FormatRootingMarker(ITaskItem, ITaskItem) | Construct a rooting marker string from the ITaskItem array of primary sources. |
![]() ![]() | FormatRootingMarker(array<ITaskItem>, array<ITaskItem>) | Construct a rooting marker string from the ITaskItem array of primary sources. |
![]() ![]() | GetFileTrackerPath(ExecutableType) | Given the ExecutableType of the tool being wrapped and information that we know about our current bitness, figures out and returns the path to the correct FileTracker.dll. |
![]() ![]() | GetFileTrackerPath(ExecutableType, String) | Given the ExecutableType of the tool being wrapped and information that we know about our current bitness, figures out and returns the path to the correct FileTracker.dll. |
![]() ![]() | GetTrackerPath(ExecutableType) | Given the ExecutableType of the tool being wrapped and information that we know about our current bitness, figures out and returns the path to the correct Tracker.exe. |
![]() ![]() | GetTrackerPath(ExecutableType, String) | |
![]() ![]() | ResumeTracking | Resume tracking file accesses in the current tracking context. |
![]() ![]() | SetThreadCount | Set the global thread count, and assign that count to the current thread. |
![]() ![]() | StartProcess(String, String, ExecutableType) | Start the process; tracking the command. |
![]() ![]() | StartProcess(String, String, ExecutableType, String) | Start the process; tracking the command. |
![]() ![]() | StartProcess(String, String, ExecutableType, String, String) | Start the process; tracking the command. |
![]() ![]() | StartProcess(String, String, ExecutableType, String, String, String) | Start the process; tracking the command. |
![]() ![]() | StartProcess(String, String, ExecutableType, String, String, String, String) | Start the process; tracking the command. |
![]() ![]() | StartTrackingContext | Starts tracking file accesses. |
![]() ![]() | StartTrackingContextWithRoot | Starts tracking file accesses, using the rooting marker in the response file provided. To automatically generate a response file given a rooting marker, call FileTracker.CreateRootingMarkerResponseFile. |
![]() ![]() | StopTrackingAndCleanup | Stop tracking file accesses and get rid of the current tracking contexts. |
![]() ![]() | SuspendTracking | Temporarily suspend tracking of file accesses in the current tracking context. |
![]() ![]() | TrackerArguments(String, String, String, String, String) | This method constructs the correct Tracker.exe arguments from its parameters |
![]() ![]() | TrackerArguments(String, String, String, String, String, String) | This method constructs the correct Tracker.exe arguments from its parameters |
![]() ![]() | TrackerCommandArguments | This method constructs the correct Tracker.exe command arguments from its parameters |
![]() ![]() | TrackerResponseFileArguments(String, String, String) | This method constructs the correct Tracker.exe response file arguments from its parameters |
![]() ![]() | TrackerResponseFileArguments(String, String, String, String) | This method constructs the correct Tracker.exe response file arguments from its parameters |
![]() ![]() | WriteAllTLogs | Write tracking logs for all contexts and threads. |
![]() ![]() | WriteContextTLogs | Write tracking logs corresponding to the current tracking context. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
