共用方式為


TaskLoggingHelper.LogExternalProjectStarted Method

Helps log the custom ExternalProjectStartedEventArgs build event.

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 Sub LogExternalProjectStarted ( _
    message As String, _
    helpKeyword As String, _
    projectFile As String, _
    targetNames As String _
)
public void LogExternalProjectStarted(
    string message,
    string helpKeyword,
    string projectFile,
    string targetNames
)
public:
void LogExternalProjectStarted(
    String^ message, 
    String^ helpKeyword, 
    String^ projectFile, 
    String^ targetNames
)
member LogExternalProjectStarted : 
        message:string * 
        helpKeyword:string * 
        projectFile:string * 
        targetNames:string -> unit
public function LogExternalProjectStarted(
    message : String, 
    helpKeyword : String, 
    projectFile : String, 
    targetNames : String
)

Parameters

  • targetNames
    Type: System.String

    The targets to build. An empty string indicates default targets.

.NET Framework Security

See Also

Reference

TaskLoggingHelper Class

Microsoft.Build.Utilities Namespace