My setup - VS2019, FW-style project, FW 4.7.2. Project is set to use <PackageReference ...
(vs packages.config)
Look at the picture. I don't have System.Runtime.CompilerServices.Unsafe.4.6.0
referenced and yet, it is telling me that I am updating it. I can't go into dependency packages in this project but in my SDK netstandard2.0 project it does same thing for this package (and System.Threading.Tasks.Extensions). And I went into package hierarchies and I don't see this package as dependency in any of the packages down this hierarchy.
Motivation - I noted in the build messages that Assembly version selected is from package version 4.6.0 (4.0.5.0) while I needed one from package 4.7.1 (4.0.6.0). I needed it because next level project, which uses output of this solution build, needed that newer version to run properly.
PackageReference
s - non-SDK. SDK however has same behavior. target framework - net472