config icon indicating copy to clipboard operation
config copied to clipboard

.NET9 support

Open MagicAndre1981 opened this issue 1 year ago • 3 comments

the stable version of .net 9 was released

Describe the solution you'd like

It would be nice to have net9.0-windows added as targetframework

MagicAndre1981 avatar Nov 12 '24 20:11 MagicAndre1981

Hi @MagicAndre1981 I'm not 100% sure but as it's a library, it won't make any difference if we target .net 9, unless some of new API are to be used (which are not at the moment). The only one who will benefit is the consumer?

aloneguid avatar Nov 14 '24 09:11 aloneguid

I'm not sure what happens if you consume libs with older targetframeworks in newer after you removed .net standard support when adding .net8.

There are breaking changes between .net versions, so I'm not sure if it is 100% safe to use a .net8 lib in .net9.

If you add a target framework the compiler makes sure it gets all correct dependencies and is safe to use.

MagicAndre1981 avatar Nov 14 '24 10:11 MagicAndre1981

I think it would make sense to run tests on .NET 9 when GH Actions agent supports the new runtime, but adding to the library compilation target is not required? Not sure.

aloneguid avatar Nov 14 '24 10:11 aloneguid