Share via


Project.LoadXml Method (String, ProjectLoadSettings)

Reads the contents of this project from a string containing the XML contents.

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 LoadXml ( _
    projectXml As String, _
    projectLoadSettings As ProjectLoadSettings _
)
public void LoadXml(
    string projectXml,
    ProjectLoadSettings projectLoadSettings
)
public:
void LoadXml(
    String^ projectXml, 
    ProjectLoadSettings projectLoadSettings
)
member LoadXml : 
        projectXml:string * 
        projectLoadSettings:ProjectLoadSettings -> unit
public function LoadXml(
    projectXml : String, 
    projectLoadSettings : ProjectLoadSettings
)

Parameters

  • projectXml
    Type: System.String

    A string containing the project contents.

.NET Framework Security

See Also

Reference

Project Class

LoadXml Overload

Microsoft.Build.BuildEngine Namespace