Skip to content

Update target frameworks #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Joy-less
Copy link
Contributor

Changes the target frameworks from (netstandard1.3, netstandard2.1) to (netstandard2.0, netstandard2.1, net8.0, net9.0).

Targeting netstandard1.3 is no longer recommended by Microsoft since the frameworks compatible with netstandard1.3 but not by netstandard2.0 are long out-of-support.

Targeting net8.0 and net9.0 should give performance benefits.

Also updates the test project packages.

@Joy-less Joy-less mentioned this pull request Mar 21, 2025
@mqudsi
Copy link
Member

mqudsi commented Mar 31, 2025

Thanks for the initiative, but the target frameworks have been carefully chosen.

netstandard1.3 is the newest target that is supported for UAP apps (deprecated but still in use by many). I'm not aware of any benefits in targeting net8.0, net9.0 when the code doesn't take advantage of any of the apis exclusive to those targets; the netstandard2.1 target would be compiled and uploaded to nuget using the latest version of the sdk and should see the same codegen benefits that a net9.0 target would, if I'm not mistaken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants