From cf716eb4dc94b89a8b16f0fae4f5139eef66b241 Mon Sep 17 00:00:00 2001 From: Irame Date: Sat, 4 Mar 2023 17:43:43 +0100 Subject: [PATCH] Pushed version to 2.4.1 --- .../SmartCmdArgs.Shared/CmdArgsPackage.cs | 22 +++++++++---------- .../SmartCmdArgs15/Properties/AssemblyInfo.cs | 4 ++-- .../source.extension.vsixmanifest | 2 +- .../SmartCmdArgs16/Properties/AssemblyInfo.cs | 4 ++-- .../source.extension.vsixmanifest | 2 +- .../SmartCmdArgs17/Properties/AssemblyInfo.cs | 4 ++-- .../source.extension.vsixmanifest | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/SmartCmdArgs/SmartCmdArgs.Shared/CmdArgsPackage.cs b/SmartCmdArgs/SmartCmdArgs.Shared/CmdArgsPackage.cs index 9af683f4..40a4a0ae 100644 --- a/SmartCmdArgs/SmartCmdArgs.Shared/CmdArgsPackage.cs +++ b/SmartCmdArgs/SmartCmdArgs.Shared/CmdArgsPackage.cs @@ -52,15 +52,15 @@ namespace SmartCmdArgs /// /// [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)] - [InstalledProductRegistration("#110", "#112", "2.4.0", IconResourceID = 400)] // Info on this package for Help/About + [InstalledProductRegistration("#110", "#112", "2.4.1", IconResourceID = 400)] // Info on this package for Help/About [ProvideMenuResource("Menus.ctmenu", 1)] [ProvideToolWindow(typeof(ToolWindow), Window = ToolWindow.ToolWindowGuidString)] - [ProvideOptionPage(typeof(CmdArgsOptionPage), "Smart Command Line Arguments", "General", 1000, 1001, false)] + [ProvideOptionPage(typeof(CmdArgsOptionPage), "Smart Command Line Arguments", "General", 1000, 1001, false)] [ProvideBindingPath] [ProvideKeyBindingTable(ToolWindow.ToolWindowGuidString, 200)] [ProvideAutoLoad(VSConstants.UICONTEXT.SolutionExistsAndFullyLoaded_string, PackageAutoLoadFlags.BackgroundLoad)] [Guid(CmdArgsPackage.PackageGuidString)] - [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "pkgdef, VS and vsixmanifest are valid VS terms")] + [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "pkgdef, VS and vsixmanifest are valid VS terms")] public sealed class CmdArgsPackage : AsyncPackage { /// @@ -100,7 +100,7 @@ public sealed class CmdArgsPackage : AsyncPackage // processed later. private string toolWindowStateFromSolutionJsonStr; private SuoDataJson toolWindowStateLoadedFromSolution; - + /// /// Initializes a new instance of the class. /// @@ -275,13 +275,13 @@ public void SetAsStartupProject(Guid guid) private void UpdateConfigurationForProject(IVsHierarchy project) { - if (project == null) + if (project == null) return; var commandLineArgs = CreateCommandLineArgsForProject(project); if (commandLineArgs == null) return; - + ProjectArguments.SetArguments(project, commandLineArgs); Logger.Info($"Updated Configuration for Project: {project.GetName()}"); } @@ -334,11 +334,11 @@ public string CreateCommandLineArgsForProject(Guid guid) { return CreateCommandLineArgsForProject(vsHelper.HierarchyForProjectGuid(guid)); } - + public List GetProjectConfigurations(Guid projGuid) { IVsHierarchy project = vsHelper.HierarchyForProjectGuid(projGuid); - + var configs = (project.GetProject()?.ConfigurationManager?.ConfigurationRowNames as Array)?.Cast().ToList(); return configs ?? new List(); } @@ -396,7 +396,7 @@ private void FileStorage_FileStorageChanged(object sender, FileStorageChangedEve if (!IsVcsSupportEnabled) return; - + ToolWindowHistory.SaveState(); IEnumerable projects; @@ -479,7 +479,7 @@ private void UpdateCommandsForProject(IVsHierarchy project) if (projectData != null) { Logger.Info($"Setting {projectData?.Items?.Count} commands for project '{project.GetName()}' from json-file."); - + var projectListViewModel = ToolWindowViewModel.TreeViewModel.Projects.GetValueOrDefault(projectGuid); var projHasSuoData = solutionData.ProjectArguments.ContainsKey(projectGuid); @@ -640,7 +640,7 @@ private void VsHelper_StartupProjectConfigurationChanged(object sender, EventArg private void VsHelper_ProjectWillRun(object sender, EventArgs e) { Logger.Info("VS-Event: Startup project will run."); - + foreach (var startupProject in ToolWindowViewModel.TreeViewModel.StartupProjects) { var project = vsHelper.HierarchyForProjectGuid(startupProject.Id); diff --git a/SmartCmdArgs/SmartCmdArgs15/Properties/AssemblyInfo.cs b/SmartCmdArgs/SmartCmdArgs15/Properties/AssemblyInfo.cs index 47f2ff4a..52bab280 100644 --- a/SmartCmdArgs/SmartCmdArgs15/Properties/AssemblyInfo.cs +++ b/SmartCmdArgs/SmartCmdArgs15/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.4.0.0")] -[assembly: AssemblyFileVersion("2.4.0.0")] +[assembly: AssemblyVersion("2.4.1.0")] +[assembly: AssemblyFileVersion("2.4.1.0")] diff --git a/SmartCmdArgs/SmartCmdArgs15/source.extension.vsixmanifest b/SmartCmdArgs/SmartCmdArgs15/source.extension.vsixmanifest index f103df1f..4180dd0a 100644 --- a/SmartCmdArgs/SmartCmdArgs15/source.extension.vsixmanifest +++ b/SmartCmdArgs/SmartCmdArgs15/source.extension.vsixmanifest @@ -1,7 +1,7 @@ - + Smart Command Line Arguments A Visual Studio Extension which aims to provide a better UI to manage your command line arguments. https://github.com/MBulli/SmartCommandlineArgs diff --git a/SmartCmdArgs/SmartCmdArgs16/Properties/AssemblyInfo.cs b/SmartCmdArgs/SmartCmdArgs16/Properties/AssemblyInfo.cs index 182b7bb9..ca5a68ce 100644 --- a/SmartCmdArgs/SmartCmdArgs16/Properties/AssemblyInfo.cs +++ b/SmartCmdArgs/SmartCmdArgs16/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.4.0.0")] -[assembly: AssemblyFileVersion("2.4.0.0")] +[assembly: AssemblyVersion("2.4.1.0")] +[assembly: AssemblyFileVersion("2.4.1.0")] diff --git a/SmartCmdArgs/SmartCmdArgs16/source.extension.vsixmanifest b/SmartCmdArgs/SmartCmdArgs16/source.extension.vsixmanifest index 3fa19d52..d9c1b406 100644 --- a/SmartCmdArgs/SmartCmdArgs16/source.extension.vsixmanifest +++ b/SmartCmdArgs/SmartCmdArgs16/source.extension.vsixmanifest @@ -1,7 +1,7 @@ - + Smart Command Line Arguments A Visual Studio Extension which aims to provide a better UI to manage your command line arguments. https://github.com/MBulli/SmartCommandlineArgs diff --git a/SmartCmdArgs/SmartCmdArgs17/Properties/AssemblyInfo.cs b/SmartCmdArgs/SmartCmdArgs17/Properties/AssemblyInfo.cs index d285a97e..34a1c7a8 100644 --- a/SmartCmdArgs/SmartCmdArgs17/Properties/AssemblyInfo.cs +++ b/SmartCmdArgs/SmartCmdArgs17/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.4.0.0")] -[assembly: AssemblyFileVersion("2.4.0.0")] +[assembly: AssemblyVersion("2.4.1.0")] +[assembly: AssemblyFileVersion("2.4.1.0")] diff --git a/SmartCmdArgs/SmartCmdArgs17/source.extension.vsixmanifest b/SmartCmdArgs/SmartCmdArgs17/source.extension.vsixmanifest index 4fb5a03f..d73acaea 100644 --- a/SmartCmdArgs/SmartCmdArgs17/source.extension.vsixmanifest +++ b/SmartCmdArgs/SmartCmdArgs17/source.extension.vsixmanifest @@ -1,7 +1,7 @@ - + Smart Command Line Arguments A Visual Studio Extension which aims to provide a better UI to manage your command line arguments. https://github.com/MBulli/SmartCommandlineArgs