Share via


ProjectInstance Constructor

Include Protected Members
Include Inherited Members

Creates a new project instance.

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ProjectInstance(String) Creates a new project instance and initializes it from the given project file, 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.
Public method ProjectInstance(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.
Public method ProjectInstance(String, IDictionary<String, String>, String) Creates a new project instance and initializes it from the given project file, using the given global properties, tools version, and 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.
Public method ProjectInstance(String, IDictionary<String, String>, String, ProjectCollection) Creates a new project instance and initializes it from the given project file, using the given global properties, tools version, and 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.
Public method ProjectInstance(ProjectRootElement, IDictionary<String, String>, String, ProjectCollection) Creates a new project instance and initializes it from the given project root, using the given global properties, tools version, and 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.
Public method ProjectInstance(String, IDictionary<String, String>, String, String, ProjectCollection) Creates a new project instance and initializes it from the given project file, using the given global properties, tools version, sub toolset version, and 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.
Public method ProjectInstance(ProjectRootElement, IDictionary<String, String>, String, String, ProjectCollection) Creates a new project instance and initializes it from the given project root, using the given global properties, tools version, and project collectionMSBuild 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

See Also

Reference

ProjectInstance Class

Microsoft.Build.Execution Namespace