Example #1
0
 public GlobalSection AddGlobalSection(string name, string attr)
 {
     GlobalSection section = new GlobalSection(name, attr, this);
       GlobalSections.Add(section);
       return section;
 }
Example #2
0
 // Methods
 public VSNetSolution(string root, string name)
 {
     RootPath = root;
       SolutionName = name;
       SolConfig = AddGlobalSection("SolutionConfiguration", "preSolution");
       ProjectConfig = new ProjectConfigItems("ProjectConfiguration", "postSolution", this);
       GlobalSections.Add(ProjectConfig);
       ExtGlobals = AddGlobalSection("ExtensibilityGlobals", "postSolution");
       ExtAddIns = AddGlobalSection("ExtensibilityAddIns", "postSolution");
 }