public GlobalSection AddGlobalSection(string name, string attr) { GlobalSection section = new GlobalSection(name, attr, this); GlobalSections.Add(section); return section; }
// 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"); }