Share via


BuildRequestData.ProjectInstance Property

Gets or sets project instance for this 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 ProjectInstance As ProjectInstance
public ProjectInstance ProjectInstance { get; private set; }
public:
property ProjectInstance^ ProjectInstance {
    ProjectInstance^ get ();
    private: void set (ProjectInstance^ value);
}
member ProjectInstance : ProjectInstance with get, private set
function get ProjectInstance () : ProjectInstance 
private function set ProjectInstance (value : ProjectInstance)

Property Value

Type: Microsoft.Build.Execution.ProjectInstance
The project instance, which may be null.

Remarks

Used in the case where the project is not located in disk storage.

.NET Framework Security

See Also

Reference

BuildRequestData Class

Microsoft.Build.Execution Namespace