public static MSBuildProject CreateFromFile(string assemblyName, string file) { string text = TextFile.FileSystem.ReadStringFromFile(file); return(MSBuildProject.create(assemblyName, text)); }
public static MSBuildProject Parse(string assemblyName, string text) { return(MSBuildProject.create(assemblyName, text)); }
public static MSBuildProject Create(string assemblyName) { string text = StreamExtensions.ReadAllText(Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(MSBuildProject), "Project.txt")); return(MSBuildProject.create(assemblyName, text)); }