Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProjectInstance Constructor (ProjectRootElement)

Creates a new project instance and initializes it from the given project root, using the default project collection.

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)

public ProjectInstance(
	ProjectRootElement xml
)

Parameters

xml
Type: Microsoft.Build.Construction.ProjectRootElement

The project root element.

No intermediate Project object is created. This is useful if a project is going to be built, but not displayed or edited.

Show:
© 2015 Microsoft