From a35dd773460a0d95cfebd5cb5815c546b4f560e9 Mon Sep 17 00:00:00 2001 From: "Sachan, Manish" Date: Thu, 6 Aug 2026 19:32:52 +0530 Subject: [PATCH] Modernize resource management and update dependencies - Switch to .resx-based resource workflow; remove binary .resources file - Regenerate Resources.Designer.cs for .NET 4.0 and update resource manager namespace - Add XML docs to resource properties - Add .NET 4.8 dependencies: System.Resources.Extensions, System.Memory, System.Buffers, System.Numerics.Vectors, System.Runtime.CompilerServices.Unsafe - Update SourceGrid.csproj for resource embedding and code generation - Bump NuGet package version to 2.0.2 --- .nuget/SourceGrid.nuspec | 7 +++++- .../Properties/Resources.Designer.cs | 21 +++++++++++++++--- .../Properties/Resources.resources | Bin 3614 -> 0 bytes Src/SourceGrid.csproj | 16 +++++++++++++ 4 files changed, 40 insertions(+), 4 deletions(-) delete mode 100644 Src/DevAge.Windows.Forms/Properties/Resources.resources diff --git a/.nuget/SourceGrid.nuspec b/.nuget/SourceGrid.nuspec index 2157fd2..76d5d81 100644 --- a/.nuget/SourceGrid.nuspec +++ b/.nuget/SourceGrid.nuspec @@ -2,7 +2,7 @@ siemens.sourcegrid - 2.0.1 + 2.0.2 SourceGrid Siemens AG SourceGrid contributors @@ -21,6 +21,11 @@ Open source grid control tool SOURCEGRID GRID + + + + + diff --git a/Src/DevAge.Windows.Forms/Properties/Resources.Designer.cs b/Src/DevAge.Windows.Forms/Properties/Resources.Designer.cs index 3abd08a..d2d08e8 100644 --- a/Src/DevAge.Windows.Forms/Properties/Resources.Designer.cs +++ b/Src/DevAge.Windows.Forms/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.3053 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -19,7 +19,7 @@ namespace DevAge.Properties { // 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", "2.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -39,7 +39,7 @@ internal Resources() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevAge.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SourceGrid.DevAge.Windows.Forms.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; @@ -60,6 +60,9 @@ internal Resources() { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// internal static byte[] CURSOR_Left { get { object obj = ResourceManager.GetObject("CURSOR_Left", resourceCulture); @@ -67,6 +70,9 @@ internal static byte[] CURSOR_Left { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// internal static byte[] CURSOR_Right { get { object obj = ResourceManager.GetObject("CURSOR_Right", resourceCulture); @@ -74,6 +80,9 @@ internal static byte[] CURSOR_Right { } } + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// internal static System.Drawing.Icon ICO_DropDown { get { object obj = ResourceManager.GetObject("ICO_DropDown", resourceCulture); @@ -81,6 +90,9 @@ internal static System.Drawing.Icon ICO_DropDown { } } + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// internal static System.Drawing.Icon ICO_SortDown { get { object obj = ResourceManager.GetObject("ICO_SortDown", resourceCulture); @@ -88,6 +100,9 @@ internal static System.Drawing.Icon ICO_SortDown { } } + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// internal static System.Drawing.Icon ICO_SortUp { get { object obj = ResourceManager.GetObject("ICO_SortUp", resourceCulture); diff --git a/Src/DevAge.Windows.Forms/Properties/Resources.resources b/Src/DevAge.Windows.Forms/Properties/Resources.resources deleted file mode 100644 index b86725d8196b41c48b73297c20673ce7aa2663f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3614 zcmeHJ&ubGw6n<%w8m%P-rG$FuiWd)|q{i45j22Q4ML|uh*Ro9~$zrlAn@!gW(!E9S zpq@PRFYzJ)1;K*{{{q2_Hv@w7P+h+_n>D*@y%dW@@-}bg%{Om;?98|C<^8)auVO^> z9NH*vwJgz`Es2)VHY=j_%PI+VLzo$**{T?3LtD=%cZJ!~483q+Hp@>&DYhF{+Y|*| zv@KI@WRzR&^@ditF1GF%_k>}jeOdK7SoQa;*_`eWMAeB2I9$E$|+gYkzVdzf`^8+sMgpBa1tY%?bNT-RMf zfS1A8<(lOr2m0H8JxeBd{!`&;Wk%-ZlAM~CRZEpdS$ims#Ydvf46`%qapXiw@Js&5 zD`9IJR(-54v|1erHkssMzNC2gGXjR7@4 zj-x}3emqHTdzaR+C6Kgj33P0m0W>A>Sc>Dh?o$S@d`OK0M2(|Eji(5QoWA_4r#=-J l@VL^a3i;HL0c#&pcu + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + DevAge.Properties + + +