public void WriteProjectConfiguration(ProjectReference project, GlobalSection section)
 {
     section.Read("\t\t{{{0}}}.{1}.ActiveCfg = {2}".ToFormat(project.ProjectGuid.ToString().ToUpper(), Key, Value));
     section.Read("\t\t{{{0}}}.{1}.Build.0 = {2}".ToFormat(project.ProjectGuid.ToString().ToUpper(), Key, Value));
 }
Ejemplo n.º 2
0
 private void normalRead(string text)
 {
     if (text.StartsWith(Global))
     {
         _read = lookForGlobalSection;
     }
     else if (text.StartsWith("Project"))
     {
         _project = new ProjectReference(text);
         _parent._projects.Add(_project);
         _read = readProject;
     }
     else
     {
         _parent._preamble.Add(text);
     }
 }