コード例 #1
0
        public static CreateProject AddAspNetProject(this CreateSolution solution, string name, bool full)
        {
            CreateProject project = new CreateProject(new CreateProjectParam(solution.Parameter, name) { Template = Resources.AspNet.ProjectXproj });

            project
                .AddAspNetProjectJson(full)
                .AddAspNetWebConfig()
                .AddAspNetStart(full)
                .AddAspNetSettings();

            solution.Add(project);

            return project;
        }