Exemplo 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);
            }
        }
Exemplo n.º 2
0
 protected abstract void OnGenerate(SolutionGenerationOptions opts);
Exemplo n.º 3
0
 public void Generate(SolutionGenerationOptions opts)
 {
     OnGenerate(opts);
 }