A project I am working on depends on a NuGet package. The dll file inside package is compiled in Release mode, therefore using debugger to inspect code (which is my goal) is imp
This happens because the nuget is using a specific version of "System.Memory, Version=4.0.1.1",
and you have System.Memory, Version=4.0.1.0 referenced in your project
. You should update that reference and it should be good. So the problem is with your DLL not the NuGet. Probably when you removed the nuget you downgraded System.Memory, you should update that explicitly to the version that the error says it requires through NuGet.
Pro Tip if you want to mess around with nugets: