aloneguid / config

⚙ Config.Net - the easiest configuration framework for .NET developers. No BS.
MIT License
666 stars 87 forks source link

.NET9 support #168

Open MagicAndre1981 opened 6 days ago

MagicAndre1981 commented 6 days ago

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

aloneguid commented 5 days ago

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?

MagicAndre1981 commented 5 days ago

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.

aloneguid commented 5 days ago

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.