Partager via


ToolTask.LogPathToTool Method

Logs the tool name and path to all registered loggers.

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
Protected Overridable Sub LogPathToTool ( _
    toolName As String, _
    pathToTool As String _
)
protected virtual void LogPathToTool(
    string toolName,
    string pathToTool
)
protected:
virtual void LogPathToTool(
    String^ toolName, 
    String^ pathToTool
)
abstract LogPathToTool : 
        toolName:string * 
        pathToTool:string -> unit  
override LogPathToTool : 
        toolName:string * 
        pathToTool:string -> unit
protected function LogPathToTool(
    toolName : String, 
    pathToTool : String
)

Parameters

  • pathToTool
    Type: System.String

    The path to the executable file.

.NET Framework Security

See Also

Reference

ToolTask Class

Microsoft.Build.Utilities Namespace