Skip to content
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

Explicitly set UnsupportedTargetFrameworkVersion for VS support #109769

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

ViktorHofer
Copy link
Member

Filed dotnet/sdk#44839 to discuss whether UnsupportedTargetFrameworkVersion should be auto-calculated.

This is needed to avoid this error inside VS:

11>------ Build started: Project: System.IO.Pipelines (src\System.IO.Pipelines), Configuration: Debug Any CPU ------
10>C:\Program Files\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(171,5): error NETSDK1209: The current Visual Studio version does not support targeting .NET 10.0.  Either target .NET 10.0 or lower, or use Visual Studio version 17.16 or higher
10>Done building project "System.Text.Json.csproj" -- FAILED.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@ViktorHofer ViktorHofer merged commit abaa1f7 into main Nov 13, 2024
144 of 147 checks passed
@ViktorHofer ViktorHofer deleted the UnsupportedTargetFrameworkVersionProp branch November 13, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants