ProjectCollection.LoadProject Method

 

Evaluates a project from the source code in the given project file. The source code is evaluated with the global properties and tools version of this project collection.

Namespace:   Microsoft.Build.Evaluation
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

NameDescription
System_CAPS_pubmethodLoadProject(String)

Evaluates a project from the source code in the given project file. The source code is evaluated with the global properties and tools version of this project collection.

System_CAPS_pubmethodLoadProject(String, IDictionary<String, String>, String)

Evaluates a project from the source code read from the given project file. The source code is evaluated with the given global properties and tools version.

System_CAPS_pubmethodLoadProject(String, String)

Evaluates a project from the source code read from the given project file. The source code is evaluated with the global properties of this project collection and the given tools version.

System_CAPS_pubmethodLoadProject(XmlReader)

Evaluates a project from the source code read from the given XML reader. The source code is evaluated with the global properties and tools version of this project collection.

System_CAPS_pubmethodLoadProject(XmlReader, IDictionary<String, String>, String)

Evaluates a project from the source code read from the given XML reader. The source code is evaluated with the given global properties and tools version.

System_CAPS_pubmethodLoadProject(XmlReader, String)

Evaluates a project from the source code read from the given XML reader. The source code is evaluated with the global properties of this project collection and the given tools version.

In the MSBuild versions that were delivered with .Net 4.5 and Visual Studio 12.0, you must call UnloadProject before the ProjectCollection goes out of scope.

Return to top
Show: