Ejemplo n.º 1
0
        public static MSBuildProject CreateFromFile(string assemblyName, string file)
        {
            string text = TextFile.FileSystem.ReadStringFromFile(file);

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

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