fix a few more things regarding AvaloniaUI/Linux

This commit is contained in:
Florian Stinglmayr 2024-11-08 08:54:47 +01:00
parent 08d54cd13c
commit 9befb10587
4 changed files with 9 additions and 6 deletions

View File

@ -52,6 +52,8 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Avalonia" Version="11.2.0" /> <PackageReference Include="Avalonia" Version="11.2.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.1" />
<PackageReference Include="System.Drawing.Common" Version="8.0.10" />
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" /> <PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,5 +1,6 @@
using System.Globalization; using System.Globalization;
using System; using System;
using Avalonia.Data.Converters;
namespace EliteBGS; namespace EliteBGS;

View File

@ -63,10 +63,10 @@ namespace EliteBGS.Properties {
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary> /// </summary>
internal static System.Drawing.Common.Icon EliteBGS { internal static System.Drawing.Icon EliteBGS {
get { get {
object obj = ResourceManager.GetObject("EliteBGS", resourceCulture); object obj = ResourceManager.GetObject("EliteBGS", resourceCulture);
return ((System.Drawing.Common.Icon)(obj)); return ((System.Drawing.Icon)(obj));
} }
} }
} }