Table of Contents

Method Load

Namespace
Alternet.Common.Projects.DotNet.SdkStyleReferences
Assembly
Alternet.Common.v10.dll

Load(string, string)

Loads SDK style project.

public static Project Load(string projectFileContents, string projectFileName)

Parameters

projectFileContents string

A string that contains XML describes a project content.

projectFileName string

Name of project file.

Returns

Project

Project describes SDK-style Visual Studio project.

Exceptions

InvalidOperationException

Throws an InvalidOperationException if the project is not SDK-style.

Exception

Throws an Exception if the project description does not contain Sdk attribute.