示例#1
0
        public static MSBuildProject CreateFromFile(string assemblyName, string file)
        {
            string text = TextFile.FileSystem.ReadStringFromFile(file);

            return(MSBuildProject.create(assemblyName, text));
        }
示例#2
0
 public static MSBuildProject Parse(string assemblyName, string text)
 {
     return(MSBuildProject.create(assemblyName, text));
 }
示例#3
0
        public static MSBuildProject Create(string assemblyName)
        {
            string text = StreamExtensions.ReadAllText(Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(MSBuildProject), "Project.txt"));

            return(MSBuildProject.create(assemblyName, text));
        }