共用方式為


BuildEngineResult.Result Property

Returns true if the build succeeded.

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.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public ReadOnly Property Result As Boolean
public bool Result { get; }
public:
property bool Result {
    bool get ();
}
member Result : bool with get
function get Result () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

BuildEngineResult Structure

Microsoft.Build.Framework Namespace