In static graph restore, with multi targeted projects, NuGet should read the target framework related information from the inner build. #9870
Labels
Area:RestoreStaticGraph
Issues related to the Static Graph restore
Functionality:Restore
Priority:2
Issues for the current backlog.
Product:dotnet.exe
Type:Bug
Milestone
Child of: #9756
Currently in command line scenarios NuGet reads the target framework information in the outer build.
That is incorrect because the the contract is that we should depend on on TargetFrameworkIdentifier and the like properties.
We do that here: https://github.com/NuGet/NuGet.Client/blob/bd482514a87a0085f8eb8603842ee1cb3ca5f277/src/NuGet.Core/NuGet.Build.Tasks/NuGet.targets#L500-L526
This task covers, the static graph restore changes.
The text was updated successfully, but these errors were encountered: