Freigeben über


FileTracker.EnsureFileTrackerOnPath Method

Definition

Prepends the path to the appropriate FileTracker assembly to the PATH environment variable.

Overloads

EnsureFileTrackerOnPath()

Prepends the path to the appropriate FileTracker assembly to the PATH environment variable. Used for inproc tracking, or when the .NET Framework may not be on the PATH.

EnsureFileTrackerOnPath(String)

Prepends the path to the appropriate FileTracker assembly to the PATH environment variable. Used for inproc tracking, or when the .NET Framework may not be on the PATH.

EnsureFileTrackerOnPath()

Source:
FileTracker.cs

Prepends the path to the appropriate FileTracker assembly to the PATH environment variable. Used for inproc tracking, or when the .NET Framework may not be on the PATH.

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

Returns

The old value of PATH

Attributes

Applies to

EnsureFileTrackerOnPath(String)

Source:
FileTracker.cs

Prepends the path to the appropriate FileTracker assembly to the PATH environment variable. Used for inproc tracking, or when the .NET Framework may not be on the PATH.

public:
 static System::String ^ EnsureFileTrackerOnPath(System::String ^ rootPath);
public static string EnsureFileTrackerOnPath (string rootPath);
static member EnsureFileTrackerOnPath : string -> string
Public Shared Function EnsureFileTrackerOnPath (rootPath As String) As String

Parameters

rootPath
String

The root path for FileTracker.dll. Overrides the toolType if specified.

Returns

The old value of PATH

Applies to