-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I am using RuntimeInformation for OS specific code. This is the snippet of code:
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)){
// do windows stuff
} else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)){
// do mac stuff
}
In Avalonia 0.9.13 this works fine but in 0.10.0.preview4 it causes the application to crash on OSX, Windows is find and I do not know about the other platforms. I have found out that Dotnet.Bundle is causing the issue, not Avalonia. In Dotnet.Bulndle 0.9.12 there is no issue but in 0.9.13 it causes the crash.
The OSx Problem Report is here https://pastebin.com/L2TsVVbC
I originally reported this on Avalonia
AvaloniaUI/Avalonia/issues/4596
Metadata
Metadata
Assignees
Labels
No labels