Example #1
0
        protected override void OnExecute()
        {
            var package = (MDKPackage)Package;
            var model   = new BlueprintManagerDialogModel
            {
                BlueprintPath = package.Options.GetActualOutputPath()
            };

            BlueprintManagerDialog.ShowDialog(model);
        }
        protected override void OnExecute()
        {
            if (!TryGetValidProject(out ProjectScriptInfo projectInfo))
            {
                VsShellUtilities.ShowMessageBox(ServiceProvider, Text.BlueprintManagerCommand_OnExecute_NoMDKProjectsDescription, Text.BlueprintManagerCommand_OnExecute_NoMDKProjects, OLEMSGICON.OLEMSGICON_INFO, OLEMSGBUTTON.OLEMSGBUTTON_OK, OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST);
                return;
            }
            var model = new BlueprintManagerDialogModel
            {
                BlueprintPath = projectInfo.OutputPath
            };

            BlueprintManagerDialog.ShowDialog(model);
        }