@mcmillen wrote:
I've currently got a game (working in UWP, OpenGL, & Android) that I started with the templates from the MonoGame 3.7.1 official build, originally using Visual Studio 2017, & upgraded to Visual Studio 2019 a while back. I'd like to use C# 8 language features if possible, but I'm a bit confused on what I'd need to do (or if it's even possible).
VS docs suggest that the compiler version depends on the target framework, with only .NET Core 3+ or .NET Standard 2.1+ getting C# 8. From what I understand, MonoGame's template projects target .NET Framework 4.5 (default) to 4.7 (newest), which only supports C# 7.3.
Is it currently possible to build a MonoGame project that targets .NET Core 3? Or is there some other way of changing the compiler to use C# 8 features? Thanks for any help you can give!
(I admit that I'm not particularly familiar with Windows / .NET projects in general, having spent most of my professional-coding life targeting Linux :))
Posts: 1
Participants: 1