Skip to content

Commit

Permalink
Pushed version to 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Irame committed Mar 4, 2023
1 parent d27a707 commit cf716eb
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
22 changes: 11 additions & 11 deletions SmartCmdArgs/SmartCmdArgs.Shared/CmdArgsPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ namespace SmartCmdArgs
/// </para>
/// </remarks>
[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
{
/// <summary>
Expand Down Expand Up @@ -100,7 +100,7 @@ public sealed class CmdArgsPackage : AsyncPackage
// processed later.
private string toolWindowStateFromSolutionJsonStr;
private SuoDataJson toolWindowStateLoadedFromSolution;

/// <summary>
/// Initializes a new instance of the <see cref="ToolWindow"/> class.
/// </summary>
Expand Down Expand Up @@ -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()}");
}
Expand Down Expand Up @@ -334,11 +334,11 @@ public string CreateCommandLineArgsForProject(Guid guid)
{
return CreateCommandLineArgsForProject(vsHelper.HierarchyForProjectGuid(guid));
}

public List<string> GetProjectConfigurations(Guid projGuid)
{
IVsHierarchy project = vsHelper.HierarchyForProjectGuid(projGuid);

var configs = (project.GetProject()?.ConfigurationManager?.ConfigurationRowNames as Array)?.Cast<string>().ToList();
return configs ?? new List<string>();
}
Expand Down Expand Up @@ -396,7 +396,7 @@ private void FileStorage_FileStorageChanged(object sender, FileStorageChangedEve

if (!IsVcsSupportEnabled)
return;

ToolWindowHistory.SaveState();

IEnumerable<IVsHierarchy> projects;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions SmartCmdArgs/SmartCmdArgs15/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
2 changes: 1 addition & 1 deletion SmartCmdArgs/SmartCmdArgs15/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="SmartCmdArgs15.0248c5c8-b4c5-4201-9360-5c100580f52e" Version="2.4.0" Language="en-US" Publisher="Irame &amp; MBulli" />
<Identity Id="SmartCmdArgs15.0248c5c8-b4c5-4201-9360-5c100580f52e" Version="2.4.1" Language="en-US" Publisher="Irame &amp; MBulli" />
<DisplayName>Smart Command Line Arguments</DisplayName>
<Description xml:space="preserve">A Visual Studio Extension which aims to provide a better UI to manage your command line arguments.</Description>
<MoreInfo>https://github.com/MBulli/SmartCommandlineArgs</MoreInfo>
Expand Down
4 changes: 2 additions & 2 deletions SmartCmdArgs/SmartCmdArgs16/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
2 changes: 1 addition & 1 deletion SmartCmdArgs/SmartCmdArgs16/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="SmartCmdArgs16.6e0b005f-d482-4341-97c0-7e78c25c4bb3" Version="2.4.0" Language="en-US" Publisher="Irame &amp; MBulli" />
<Identity Id="SmartCmdArgs16.6e0b005f-d482-4341-97c0-7e78c25c4bb3" Version="2.4.1" Language="en-US" Publisher="Irame &amp; MBulli" />
<DisplayName>Smart Command Line Arguments</DisplayName>
<Description xml:space="preserve">A Visual Studio Extension which aims to provide a better UI to manage your command line arguments.</Description>
<MoreInfo>https://github.com/MBulli/SmartCommandlineArgs</MoreInfo>
Expand Down
4 changes: 2 additions & 2 deletions SmartCmdArgs/SmartCmdArgs17/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
2 changes: 1 addition & 1 deletion SmartCmdArgs/SmartCmdArgs17/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="SmartCmdArgs17.6edd462d-d4d6-40b9-a7b4-451a6ce6c527" Version="2.4.0" Language="en-US" Publisher="Irame &amp; MBulli" />
<Identity Id="SmartCmdArgs17.6edd462d-d4d6-40b9-a7b4-451a6ce6c527" Version="2.4.1" Language="en-US" Publisher="Irame &amp; MBulli" />
<DisplayName>Smart Command Line Arguments</DisplayName>
<Description xml:space="preserve">A Visual Studio Extension which aims to provide a better UI to manage your command line arguments.</Description>
<MoreInfo>https://github.com/MBulli/SmartCommandlineArgs</MoreInfo>
Expand Down

0 comments on commit cf716eb

Please sign in to comment.