-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.breaking-changeIndicates a .NET Core breaking changeIndicates a .NET Core breaking changein-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.
Description
Description
When a version of .NET goes out of support, we mark it in VS the next month but we wait to add a warning to the .NET SDK for 6 months.
For the November releases of the .NET 8 and 9 SDKs, we will be adding warning NETSDK1138 when a customer targets net7.0.
This applies to 8.0.111, 8.0.307, 8.0.404, and 9.0.100.
Version
Other (please put exact version in description textbox)
Previous behavior
Customers could target net7.0 even though it was out of support without a warning.
New behavior
warning NETSDK1138: The target framework 'net7.0' is out of support
Type of breaking change
- Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
- Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
- Behavioral change: Existing binaries might behave differently at run time.
Reason for change
This is a planned change.
Recommended action
Upgrade to net8.0.
If you must continue targeting net7.0, you can set CheckEolTargetFramework=false in your project or build command line.
Feature area
SDK
Affected APIs
No response
Metadata
Metadata
Assignees
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.breaking-changeIndicates a .NET Core breaking changeIndicates a .NET Core breaking changein-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.