共用方式為


BuildEngineResult Structure

Contains the result of the build and the target outputs.

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
<SerializableAttribute> _
Public Structure BuildEngineResult
[SerializableAttribute]
public struct BuildEngineResult
[SerializableAttribute]
public value class BuildEngineResult
[<Sealed>]
[<SerializableAttribute>]
type BuildEngineResult =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The BuildEngineResult type exposes the following members.

Constructors

  Name Description
Public method BuildEngineResult Constructor that takes the result of the build and a list of the target outputs per project.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.

Top

Properties

  Name Description
Public property Result 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.
Public property TargetOutputsPerProject Outputs of the targets per project.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.

Top

Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Framework Namespace