共用方式為


Project Constructor

Include Protected Members
Include Inherited Members

Constructs an empty project using the global project collection global properties and default tools version.

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 Project() Constructs an empty project using the global project collection global properties and default tools version.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 Project(String) Constructs a project and evaluates it from the given source project file and with the global project collection global properties and default tools version. 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 Project(XmlReader) Constructs a project and evaluates the source code from the given XML reader. The source code is evaluated with the global project collection global properties and default tools version. 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 Project(ProjectCollection) Constructs an empty project using the given project collection global properties and default tools version.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 Project(ProjectRootElement) Constructs an empty project and evaluates it using the given project root and the global project collection global properties and default tools version.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 Project(IDictionary<String, String>, String, ProjectCollection) Constructs an empty project, to be evaluated with the given project collection and with the given global properties and given tools version. 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 Project(String, IDictionary<String, String>, String) Constructs a project and evaluates it from the given source project file and with the given global properties and given tools version. 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 Project(XmlReader, IDictionary<String, String>, String) Constructs a project and evaluates the source code from the given XML reader. The source code is evaluated with the given global properties and given tools version. 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 Project(ProjectRootElement, IDictionary<String, String>, String) Constructs an empty project and evaluates it using the given project root and with the given global properties and given tools version.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 Project(String, IDictionary<String, String>, String, ProjectCollection) Constructs a project and evaluates it from the given source project file and with the given global properties and given tools version. 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 Project(XmlReader, IDictionary<String, String>, String, ProjectCollection) Constructs a project and evaluates the source code from the given XML reader. The source code is evaluated with the given global properties and given tools version. 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 Project(ProjectRootElement, IDictionary<String, String>, String, ProjectCollection) Constructs a project and evaluates it using the given project root and with the given global properties and given tools version.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 Project(String, IDictionary<String, String>, String, ProjectCollection, ProjectLoadSettings) Constructs a project and evaluates it from the given source project file and with the given global properties, given tools version, and given load settings. 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 Project(XmlReader, IDictionary<String, String>, String, ProjectCollection, ProjectLoadSettings) Constructs a project and evaluates the source code from the given XML reader. The source code is evaluated with the given global properties and given tools version. 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 Project(ProjectRootElement, IDictionary<String, String>, String, ProjectCollection, ProjectLoadSettings) Constructs a project and evaluates it using the given project root and with the given global properties, given tools version, and given load settings.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 Project(String, IDictionary<String, String>, String, String, ProjectCollection, ProjectLoadSettings) Constructs a project and evaluates it from the given source project file and with the given global properties, tools and sub-toolset versions, project collection, and load settings.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 Project(XmlReader, IDictionary<String, String>, String, String, ProjectCollection, ProjectLoadSettings) Constructs a project and evaluates the source code from the given XML reader. The source code is evaluated with the given global properties, tools and sub-toolset versions, project collection, and load settings.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 Project(ProjectRootElement, IDictionary<String, String>, String, String, ProjectCollection, ProjectLoadSettings) Constructs a project and evaluates it using the given project root and with the given global properties, tools and sub-toolset versions, project collection, and load settings.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

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace