共用方式為


TaskLoggingHelper.LogExternalProjectFinished Method

Helps log the custom ExternalProjectFinishedEventArgs 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 LogExternalProjectFinished ( _
    message As String, _
    helpKeyword As String, _
    projectFile As String, _
    succeeded As Boolean _
)
public void LogExternalProjectFinished(
    string message,
    string helpKeyword,
    string projectFile,
    bool succeeded
)
public:
void LogExternalProjectFinished(
    String^ message, 
    String^ helpKeyword, 
    String^ projectFile, 
    bool succeeded
)
member LogExternalProjectFinished : 
        message:string * 
        helpKeyword:string * 
        projectFile:string * 
        succeeded:bool -> unit
public function LogExternalProjectFinished(
    message : String, 
    helpKeyword : String, 
    projectFile : String, 
    succeeded : boolean
)

Parameters

  • succeeded
    Type: System.Boolean

    true to indicate that project was built successfully; otherwise, false.

.NET Framework Security

See Also

Reference

TaskLoggingHelper Class

Microsoft.Build.Utilities Namespace