Partager via


Exec.LogPathToTool Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Logs the tool name and 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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Protected Overrides Sub LogPathToTool ( _
    toolName As String, _
    pathToTool As String _
)
protected override void LogPathToTool(
    string toolName,
    string pathToTool
)
protected:
virtual void LogPathToTool(
    String^ toolName, 
    String^ pathToTool
) override
abstract LogPathToTool : 
        toolName:string * 
        pathToTool:string -> unit  
override LogPathToTool : 
        toolName:string * 
        pathToTool:string -> unit
protected override function LogPathToTool(
    toolName : String, 
    pathToTool : String
)

Parameters

  • pathToTool
    Type: System.String

    The current directory where the tool is run.

.NET Framework Security

See Also

Reference

Exec Class

Microsoft.Build.Tasks Namespace