When running the latest release on my arch mainline rig I ran into the following error:
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.StringComparer..cctor()
at System.StringComparer.get_OrdinalIgnoreCase()
at Avalonia.Media.KnownColors..cctor()
at Avalonia.Media.KnownColors.ToBrush(Avalonia.Media.KnownColor)
at Avalonia.Media.Brushes.get_Black()
at Avalonia.Controls.TextBlock..cctor()
at Avalonia.Controls.Primitives.TemplatedControl..cctor()
at Avalonia.Controls.Window..cctor()
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime..cctor()
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime..ctor()
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon, System.String[], Avalonia.Controls.ShutdownMode)
at GDMENUCardManager.Program.Main(System.String[])
[1] 543118 IOT instruction (core dumped) ./GDMENUCardManager
ICU deps are installed properly, the solution to get around this error was to do this:
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
Then the application ran fine. Putting this here to help folks that may run into this and perhaps help the dev to figure out a better solution.
Linux 6.2.13-zen-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 26 Apr 2023 20:49:44 +0000 x86_64 GNU/Linux
When running the latest release on my arch mainline rig I ran into the following error:
ICU deps are installed properly, the solution to get around this error was to do this:
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
Then the application ran fine. Putting this here to help folks that may run into this and perhaps help the dev to figure out a better solution.