NuGet Product Used
dotnet.exe
Product Version
9.0.300
Worked before?
No response
Impact
None
Repro Steps & Context
The target frameworks supported by Microsoft.NET.Test.Sdk are net8.0 and net462, and the target framework of my project is net6.0. When building, the warning of nu1701 should be generated, but there is no warning now.
1.dotnet new console -f net6.0 -n Test
2.dotnet add package Microsoft.NET.Test.Sdk --version 17.14.0
3.dotnet build
Verbose Logs