private void readSection(string text) { if (text.Trim() == EndGlobalSection) { _read = lookForGlobalSection; } else { _section.Read(text); } }
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)); }
public void WriteProjectConfiguration(SolutionProject solutionProject, GlobalSection section) { section.Read("\t\t{{{0}}}.{1}.ActiveCfg = {2}".ToFormat(solutionProject.ProjectGuid.ToString().ToUpper(), Key, Value)); section.Read("\t\t{{{0}}}.{1}.Build.0 = {2}".ToFormat(solutionProject.ProjectGuid.ToString().ToUpper(), Key, Value)); }