Compartir a través de


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.String

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

Return Value

Type: System.String
The old value of PATH

.NET Framework Security

See Also

Reference

FileTracker Class

EnsureFileTrackerOnPath Overload

Microsoft.Build.Utilities Namespace