Dela via


BuildResult.ProjectStateAfterBuild Property

Gets or sets ProjectInstance state after the build.

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

Syntax

'Declaration
Public Property ProjectStateAfterBuild As ProjectInstance
public ProjectInstance ProjectStateAfterBuild { get; set; }
public:
property ProjectInstance^ ProjectStateAfterBuild {
    ProjectInstance^ get ();
    void set (ProjectInstance^ value);
}
member ProjectStateAfterBuild : ProjectInstance with get, set
function get ProjectStateAfterBuild () : ProjectInstance 
function set ProjectStateAfterBuild (value : ProjectInstance)

Property Value

Type: Microsoft.Build.Execution.ProjectInstance
Returns the ProjectInstance object.

Remarks

This may be a dummy object and should not be used except to retrieve Properties, GlobalProperties and Items. Other operations are not supported.

.NET Framework Security

See Also

Reference

BuildResult Class

Microsoft.Build.Execution Namespace