-
-
Notifications
You must be signed in to change notification settings - Fork 440
Open
Labels
bugSomething isn't workingSomething isn't working

Description
Summary
Unhandled exception. System.TypeInitializationException: The type initializer for 'Glib.Window' threw an exception.
---> System.PlatformNotSupportedException: Invalid/unsupported operating system.
at Silk.NET.Core.Loader.SearchPathContainer.ThrowInvalidPlatform()
at Silk.NET.Core.Loader.SearchPathContainer.GetLibraryNames()
at Silk.NET.GLFW.Glfw.GetApi()
Steps to reproduce
- Platform: FreeBSD
- Framework Version: .NET 9.0.107 (from pkg install dotnet)
- API: OpenGL
- API Version: 3.3
- dotnet build anything that uses Silk.NET
- dotnet run
Comments
this does not account for OSPlatform.FreeBSD
add this to build/nuke/Silk.NET.NUKE.csproj, the is missing for 9.0
If you know how to fix this issue, please submit a pull request instead!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo