Esempio n. 1
0
        protected override void OnGenerate(SolutionGenerationOptions opts)
        {
            var solution = new Solution();

            solution.AddConfiguration("", true);
            solution.BaseDirectory = opts.OutputDirectory;
            solution.FileName      = "test.sln";

            int i = 0;

            // FIXME: make this addin data based
            foreach (var projectOptions in opts.ProjectOptions)
            {
                var project = GenerateProject(projectOptions, i++);
                solution.DefaultSolutionFolder.AddItem(project);
            }
        }
Esempio n. 2
0
 protected abstract void OnGenerate(SolutionGenerationOptions opts);
Esempio n. 3
0
 public void Generate(SolutionGenerationOptions opts)
 {
     OnGenerate(opts);
 }