protected override void Execute()
        {
            ISolutionOptions options = DialogService.CreateSolutionViaDialog();

            if (options != null)
            {
                Directory.CreateDirectory(options.RepositoryDirectory);
                Directory.CreateDirectory(options.SolutionDirectory);

                DirectoryBuildPropsWriter.WriteDirectoryBuildProps(options);

                RuleSetWriter.WriteRuleSet(options);

                Solution.CreateSolution(options.SolutionDirectory, options.SolutionName, CreateSolutionFlags.Overwrite);

                Solution.SaveSolutionElement(SaveSolutionOptions.ForceSave, null, 0);

                Solution.OpenSolutionFile(OpenSolutionFlags.Silent, options.SolutionFilePath);

                Project project = Solution2.AddSolutionFolder("Build");
                project.ProjectItems.AddFromFile(options.DirectoryBuildPropsPath);
            }
        }