-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update target framework version in toolsetinfo for NET 8. #29316
Update target framework version in toolsetinfo for NET 8. #29316
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
You may want nexttargetframework to stay as 8.0. Jason added that for the transition from 7 to 8.0 as we had some tests that required 7 still and some that required 8 already. I don't think those tests will work targeting 9. The alternative is to move all tests that use next target framework currently back to current with this PR. I like that alternative better. |
@marcpopMSFT Pretty sure that's already been done, there are no references to either of the nextTFM properties. |
I don't think that "Find all references" search is working. I see references still here: sdk/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToControlGeneratedAssemblyInfo.cs Lines 373 to 375 in 5a5e336
|
The NextTargetFramework constant is also used in #29158. |
… test in the error message as opposed to a test comment
JK it's been fixed. |
@dotnet/dotnet-cli PTAL |
I'm glad that we caught some build-logic updates (warning levels) with this bump :) How concerned should I be that it looks like we're losing a lot of coverage on |
I am not too concerned since they are still running in the 7x branches and theoretically any gap in 8 and 7 should be specifically tested with 7 and 8. (I'm not saying they are, but stylistically it would be the correct thing to do and it's what I've been doing for 8.0 breaking changes.) |
@nagilson impeccable response, you are of course correct on all counts. Thank you :) |
Lol! I have gotten better at covering my bases. |
+1 to what Noah said. We should probably identify a specific set of tests that target all supported runtimes as a baseline but everything else we should roll forward each release. |
The "net7.0" TFM was dropped in the move to "net8.0" in #29316.
It would be ideal if this could be done automatically, though per Marc it could make the migration to 9 harder so probably not.