From 21721ef4d792ebcadc0cda8175559875b3995307 Mon Sep 17 00:00:00 2001 From: Ivo Petrov <48355182+ivaylo-matov@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:40:19 +0000 Subject: [PATCH] pipeline.yml new zip paths (#74) --- TuneUp/Properties/Resources.Designer.cs | 2 +- TuneUp/Properties/Resources.en-US.Designer.cs | 361 ++++++++++++++++++ TuneUp/Properties/Resources.en-US.resx | 2 +- TuneUp/Properties/Resources.resx | 2 +- TuneUp/TuneUp.csproj | 17 +- pipeline.yml | 2 +- 6 files changed, 374 insertions(+), 12 deletions(-) create mode 100644 TuneUp/Properties/Resources.en-US.Designer.cs diff --git a/TuneUp/Properties/Resources.Designer.cs b/TuneUp/Properties/Resources.Designer.cs index 8f41d4e..703ee9e 100644 --- a/TuneUp/Properties/Resources.Designer.cs +++ b/TuneUp/Properties/Resources.Designer.cs @@ -341,7 +341,7 @@ public static string ToolTip_OriginalName { } /// - /// Looks up a localized string similar to Execure entire graph, including nodes with no change since the latest run.. + /// Looks up a localized string similar to Execute entire graph, including nodes with no change since the latest run.. /// public static string ToolTip_RunAll { get { diff --git a/TuneUp/Properties/Resources.en-US.Designer.cs b/TuneUp/Properties/Resources.en-US.Designer.cs new file mode 100644 index 0000000..10a77ee --- /dev/null +++ b/TuneUp/Properties/Resources.en-US.Designer.cs @@ -0,0 +1,361 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TuneUp.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Resources_en_US { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources_en_US() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TuneUp.Properties.Resources.en-US", typeof(Resources_en_US).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Export. + /// + public static string Button_Export { + get { + return ResourceManager.GetString("Button_Export", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export as CSV. + /// + public static string Button_ExportCsv { + get { + return ResourceManager.GetString("Button_ExportCsv", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export as JSON. + /// + public static string Button_ExportJson { + get { + return ResourceManager.GetString("Button_ExportJson", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Run All. + /// + public static string Button_RunAll { + get { + return ResourceManager.GetString("Button_RunAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show groups. + /// + public static string Button_ShowGroups { + get { + return ResourceManager.GetString("Button_ShowGroups", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show TuneUp. + /// + public static string Button_ShowTuneUp { + get { + return ResourceManager.GetString("Button_ShowTuneUp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TuneUp. + /// + public static string ExtensionName { + get { + return ResourceManager.GetString("ExtensionName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to #. + /// + public static string Header_ExecutionOrder { + get { + return ResourceManager.GetString("Header_ExecutionOrder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execution time (ms). + /// + public static string Header_ExecutionTime { + get { + return ResourceManager.GetString("Header_ExecutionTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Name. + /// + public static string Header_Name { + get { + return ResourceManager.GetString("Header_Name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Title. + /// + public static string Label_DefaultDisplayGroupName { + get { + return ResourceManager.GetString("Label_DefaultDisplayGroupName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to N/A. + /// + public static string Label_DefaultExecutionTime { + get { + return ResourceManager.GetString("Label_DefaultExecutionTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Title <Double click here to edit group title>. + /// + public static string Label_DefaultGroupName { + get { + return ResourceManager.GetString("Label_DefaultGroupName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execution time. + /// + public static string Label_ExecutionTime { + get { + return ResourceManager.GetString("Label_ExecutionTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Graph execution time (ms). + /// + public static string Label_GraphExecutionTime { + get { + return ResourceManager.GetString("Label_GraphExecutionTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Group:. + /// + public static string Label_GroupNodePrefix { + get { + return ResourceManager.GetString("Label_GroupNodePrefix", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Group total. + /// + public static string Label_GroupTotalExecutionTime { + get { + return ResourceManager.GetString("Label_GroupTotalExecutionTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Latest. + /// + public static string Label_Latest { + get { + return ResourceManager.GetString("Label_Latest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Latest run. + /// + public static string Label_LatestRun { + get { + return ResourceManager.GetString("Label_LatestRun", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Not executed. + /// + public static string Label_NotExecuted { + get { + return ResourceManager.GetString("Label_NotExecuted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Previous. + /// + public static string Label_Previous { + get { + return ResourceManager.GetString("Label_Previous", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Previous run. + /// + public static string Label_PreviousRun { + get { + return ResourceManager.GetString("Label_PreviousRun", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Total. + /// + public static string Label_Total { + get { + return ResourceManager.GetString("Label_Total", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The file is currently in use by another application. Please close the file before trying to overwrite it.. + /// + public static string Message_FileInUse { + get { + return ResourceManager.GetString("Message_FileInUse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error occurred while trying to write the file: {0}. + /// + public static string Message_FileWriteError { + get { + return ResourceManager.GetString("Message_FileWriteError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Error. + /// + public static string Title_Error { + get { + return ResourceManager.GetString("Title_Error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to File in Use. + /// + public static string Title_FileInUse { + get { + return ResourceManager.GetString("Title_FileInUse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execution order.. + /// + public static string ToolTip_ExecutionOrder { + get { + return ResourceManager.GetString("ToolTip_ExecutionOrder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Time it took to execute the node in milliseconds. Values between 0 and 1 are rounded up to 1 ms.. + /// + public static string ToolTip_ExecutionTime { + get { + return ResourceManager.GetString("ToolTip_ExecutionTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nodes that are not executed in the latest run because they had no change. To re-execute, press Run All.. + /// + public static string ToolTip_NotExecuted { + get { + return ResourceManager.GetString("ToolTip_NotExecuted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Original node name: + ///{0}. + /// + public static string ToolTip_OriginalName { + get { + return ResourceManager.GetString("ToolTip_OriginalName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execute entire graph, including nodes with no change since the latest run.. + /// + public static string ToolTip_RunAll { + get { + return ResourceManager.GetString("ToolTip_RunAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Combined execution time of latest and previous run.. + /// + public static string ToolTip_TotalExecutionTime { + get { + return ResourceManager.GetString("ToolTip_TotalExecutionTime", resourceCulture); + } + } + } +} diff --git a/TuneUp/Properties/Resources.en-US.resx b/TuneUp/Properties/Resources.en-US.resx index e3d1a8d..89cb216 100644 --- a/TuneUp/Properties/Resources.en-US.resx +++ b/TuneUp/Properties/Resources.en-US.resx @@ -212,7 +212,7 @@ {0} - Execure entire graph, including nodes with no change since the latest run. + Execute entire graph, including nodes with no change since the latest run. Combined execution time of latest and previous run. diff --git a/TuneUp/Properties/Resources.resx b/TuneUp/Properties/Resources.resx index a8b4e82..813b0d5 100644 --- a/TuneUp/Properties/Resources.resx +++ b/TuneUp/Properties/Resources.resx @@ -212,7 +212,7 @@ {0} - Execure entire graph, including nodes with no change since the latest run. + Execute entire graph, including nodes with no change since the latest run. Combined execution time of latest and previous run. diff --git a/TuneUp/TuneUp.csproj b/TuneUp/TuneUp.csproj index 4a8c6e7..fb5b1dc 100644 --- a/TuneUp/TuneUp.csproj +++ b/TuneUp/TuneUp.csproj @@ -52,6 +52,11 @@ True Resources.resx + + True + True + Resources.en-US.resx + @@ -89,18 +94,14 @@ - + PublicResXFileCodeGenerator - Resources.Designer.cs + Resources.en-US.Designer.cs - - ResXFileCodeGenerator + + PublicResXFileCodeGenerator Resources.Designer.cs - - ResXFileCodeGenerator - TuneUpResources.Designer.cs - diff --git a/pipeline.yml b/pipeline.yml index b65de71..8ab9753 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -28,7 +28,7 @@ deployment: - type: customized scripts: - - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path (Join-Path TuneUp/bin/Release/net8.0-windows 'TuneUp.dll', 'en-US') -DestinationPath TuneUp.zip" + - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path 'TuneUp/bin/Release/net8.0-windows/TuneUp.dll', 'TuneUp/bin/Release/net8.0-windows/en-US' -DestinationPath 'TuneUp.zip'" - type: artifacts publish_to_jenkins: true