Compartir a través de


Project Constructor (Engine, String)

Initializes a new instance of the Project class using the supplied Engine and ToolsVersion.

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

Syntax

'Declaration
Public Sub New ( _
    engine As Engine, _
    toolsVersion As String _
)
public Project(
    Engine engine,
    string toolsVersion
)
public:
Project(
    Engine^ engine, 
    String^ toolsVersion
)
new : 
        engine:Engine * 
        toolsVersion:string -> Project
public function Project(
    engine : Engine, 
    toolsVersion : String
)

Parameters

.NET Framework Security

See Also

Reference

Project Class

Project Overload

Microsoft.Build.BuildEngine Namespace