Skip to content

[Breaking change]: 9.0.100 will require 17.11.0 or newer Visual Studio #43188

@marcpopMSFT

Description

@marcpopMSFT

Description

Per https://learn.microsoft.com/dotnet/core/porting/versioning-sdk-msbuild-vs#targeting-and-support-rules, 9.0.100 requires 17.11 to target net8 and below and requires 17.12 and above to target net9.0.

This change was added for the final build.

dotnet/sdk#43143

Version

.NET 9 GA

Previous behavior

We previously weren't blocking 9.0.100 on loading on earlier Visual Studio versions or warning when targeting net9.0 when using 17.11.

New behavior

  • 9.0.100 will not load in 17.10 or earlier Visual Studio
  • Visual Studio 17.11 will no longer make net9.0 available in the project properties
  • 9.0.100 will warn when targeting net9.0 and using 17.11
    • NETSDK1223: Targeting .NET 9.0 or higher in Visual Studio 2022 17.11 is not supported.

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 use a newer Visual Studio version.

Feature area

SDK

Affected APIs

No response


Associated WorkItem - 340220

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.breaking-changeIndicates a .NET Core breaking changein-prThis issue will be closed (fixed) by an active pull request.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions