prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.76k stars 357 forks source link

Added support for FNA.Core #805

Closed VictorKoenders closed 1 month ago

VictorKoenders commented 1 month ago

FNA has a set of .Core.csproj projects that allow it to run with dotnet core 7 (and in my case 8). This doesn't work with Nez because Nez depends on either net471 or netstandard2.0. Both of which I could not get to work with dotnet core 8 (please tell me if there is a way to make this work).

This PR adds a .FNA.Core version of:

Additionally I have added a define FNA_GCHANDLE to nez portable as a workaround for #804. This made Nez work with an FNA version younger than 6 months old, which is what I imagine most dotnet core people would use.