Bagikan melalui


FileTracker.GetTrackerPath Method

Definition

Figures out and returns the path to the correct Tracker.exe.

Overloads

GetTrackerPath(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 Tracker.exe.

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)

Source:
FileTracker.cs

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.

public:
 static System::String ^ GetTrackerPath(Microsoft::Build::Utilities::ExecutableType toolType, System::String ^ rootPath);
public static string GetTrackerPath (Microsoft.Build.Utilities.ExecutableType toolType, string rootPath);
static member GetTrackerPath : Microsoft.Build.Utilities.ExecutableType * string -> string
Public Shared Function GetTrackerPath (toolType As ExecutableType, rootPath As String) As String

Parameters

toolType
ExecutableType

The ExecutableType of the tool being wrapped

rootPath
String

The root path for Tracker.exe. Overrides the toolType if specified.

Returns

Returns String.

Applies to

GetTrackerPath(ExecutableType)

Source:
FileTracker.cs

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.

public:
 static System::String ^ GetTrackerPath(Microsoft::Build::Utilities::ExecutableType toolType);
public static string GetTrackerPath (Microsoft.Build.Utilities.ExecutableType toolType);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static string GetTrackerPath (Microsoft.Build.Utilities.ExecutableType toolType);
static member GetTrackerPath : Microsoft.Build.Utilities.ExecutableType -> string
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
static member GetTrackerPath : Microsoft.Build.Utilities.ExecutableType -> string
Public Shared Function GetTrackerPath (toolType As ExecutableType) As String

Parameters

toolType
ExecutableType

The ExecutableType of the tool being wrapped

Returns

The tracker path.

Attributes

Applies to