From 9befb10587a60a851af5ac8ba893a5369bd98070 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Fri, 8 Nov 2024 08:54:47 +0100 Subject: [PATCH] fix a few more things regarding AvaloniaUI/Linux --- Avalonia.EliteBGS/EliteBGS.csproj | 2 ++ Avalonia.EliteBGS/MinusFortyFiveConverter.cs | 1 + Avalonia.EliteBGS/Properties/Resources.Designer.cs | 4 ++-- Avalonia.EliteBGS/Properties/Settings.Designer.cs | 8 ++++---- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Avalonia.EliteBGS/EliteBGS.csproj b/Avalonia.EliteBGS/EliteBGS.csproj index b8909e9..48d6a56 100644 --- a/Avalonia.EliteBGS/EliteBGS.csproj +++ b/Avalonia.EliteBGS/EliteBGS.csproj @@ -52,6 +52,8 @@ + + diff --git a/Avalonia.EliteBGS/MinusFortyFiveConverter.cs b/Avalonia.EliteBGS/MinusFortyFiveConverter.cs index 33be47f..00c4e17 100644 --- a/Avalonia.EliteBGS/MinusFortyFiveConverter.cs +++ b/Avalonia.EliteBGS/MinusFortyFiveConverter.cs @@ -1,5 +1,6 @@ using System.Globalization; using System; +using Avalonia.Data.Converters; namespace EliteBGS; diff --git a/Avalonia.EliteBGS/Properties/Resources.Designer.cs b/Avalonia.EliteBGS/Properties/Resources.Designer.cs index 863ec2d..f3aa714 100644 --- a/Avalonia.EliteBGS/Properties/Resources.Designer.cs +++ b/Avalonia.EliteBGS/Properties/Resources.Designer.cs @@ -63,10 +63,10 @@ namespace EliteBGS.Properties { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - internal static System.Drawing.Common.Icon EliteBGS { + internal static System.Drawing.Icon EliteBGS { get { object obj = ResourceManager.GetObject("EliteBGS", resourceCulture); - return ((System.Drawing.Common.Icon)(obj)); + return ((System.Drawing.Icon)(obj)); } } } diff --git a/Avalonia.EliteBGS/Properties/Settings.Designer.cs b/Avalonia.EliteBGS/Properties/Settings.Designer.cs index 6fc1285..e5cfc80 100644 --- a/Avalonia.EliteBGS/Properties/Settings.Designer.cs +++ b/Avalonia.EliteBGS/Properties/Settings.Designer.cs @@ -9,14 +9,14 @@ //------------------------------------------------------------------------------ namespace EliteBGS.Properties { - - + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - + public static Settings Default { get { return defaultInstance;