nunit-console icon indicating copy to clipboard operation
nunit-console copied to clipboard

Update language level to C# 14?

Open CharliePoole opened this issue 4 weeks ago • 4 comments

@nunit/engine-team @nunit/core-team

Currently using C# 12. Does anyone see a reason not to do this for V4?

CharliePoole avatar Dec 08 '25 16:12 CharliePoole

This change makes sense to me @CharliePoole

This would require those developing the console and using Visual Studio as their IDE to be using the newest version at this time, 2026. I don't foresee an issue with that as I would imagine most on 2022 wouldn't have an issue upgrading.

stevenaw avatar Dec 08 '25 22:12 stevenaw

@stevenaw Or to install the .NET 10 SDK, which is what I've done for the moment. Fortunately, it appears to run on Windows 10, so I'll be upgrading soon myself.

CharliePoole avatar Dec 09 '25 00:12 CharliePoole

That's great if that's also an option. The documentation I remember reading must've been incomplete at the time as I see it now mentions

using the latest Visual Studio 2026 version or the .NET 10 SDK

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14

stevenaw avatar Dec 09 '25 00:12 stevenaw

Moving ahead with this.

CharliePoole avatar Dec 10 '25 23:12 CharliePoole