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
stringA string that contains XML describes a project content.
projectFileName
stringName 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.