FileTracker.EnsureFileTrackerOnPath Method (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.
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)
Syntax
'Declaration
Public Shared Function EnsureFileTrackerOnPath ( _
rootPath As String _
) As String
public static string EnsureFileTrackerOnPath(
string rootPath
)
public:
static String^ EnsureFileTrackerOnPath(
String^ rootPath
)
static member EnsureFileTrackerOnPath :
rootPath:string -> string
public static function EnsureFileTrackerOnPath(
rootPath : String
) : String
Parameters
rootPath
Type: System.StringThe root path for FileTracker.dll. Overrides the toolType if specified.
Return Value
Type: System.String
The old value of PATH
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.