Skip to content

Update compatibility message for trying to target net10.0 in 17.14 #50748

@marcpopMSFT

Description

@marcpopMSFT

Using the 10.0.1xx SDK to target net10.0 is not supported unless you're using VS 18.0.0. We update this code and message every year.

For this year

  • update the message to say targeting .NET 10.0 or higher in Visual Studio 2022 17.14 is not supported
  • update to a new NETSDK message number and move it to the end of the resx file
  • Update the id for the message to be accurate
  • Update the latest message added comment
  • Update the defaultItems.targets logic with a new target name, the new warning ID, and the correct versions

https://github.com/dotnet/sdk/blob/release/10.0.1xx/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.DefaultItems.targets#L141

https://github.com/dotnet/sdk/blob/release/10.0.1xx/src/Tasks/Common/Resources/Strings.resx#L973

Metadata

Metadata

Assignees

Labels

untriagedRequest triage from a team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions