private void MenuItemCallback(object sender, EventArgs e) { string message = string.Format(CultureInfo.CurrentCulture, "Process Completed Successfully", GetType().FullName); string title = "JWT Integrator Tool"; var project = ProjectHelpers.GetActiveProject(); var projectpath = project.GetFullPath(); try { FileHelper.CreateBackup(projectpath); FileHelper.AddtoConfigJson(FileHelper.GetJsonFile(projectpath)); FileHelper.CreateSigningConfigurationsFile(projectpath); FileHelper.CreateTokenConfigurationsFile(projectpath); FileHelper.AddInfotoStartup(projectpath); FileHelper.CreateTokenController(projectpath); } catch (Exception ex) { Logger.Log("Error during the operation: " + ex); } Logger.Log("Integration completed with success"); // Show a message box to prove we were here VsShellUtilities.ShowMessageBox( ServiceProvider, message, title, OLEMSGICON.OLEMSGICON_INFO, OLEMSGBUTTON.OLEMSGBUTTON_OK, OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST); }