NuGet not updating project references

前端 未结 7 1103
鱼传尺愫
鱼传尺愫 2021-02-07 07:29

I recently migrated all my Visual Studio 2013 projects to Visual Studio 2015 and followed the steps documented in this article by Nuget to make sure that automatic package resto

7条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 07:48

    I was facing an issue with NuGet package of Newtonsoft.Json as shown below:

    I tried all possible solutions but none of the below mentioned ones worked:

    • Cleaning solution
    • Rebuilding solution
    • Clearing NuGet package cache

    Finally I realized it had something to do with .NET Framework version targeted by my C# project. There was some mismatch it seems. The moment I upgraded the .NET Framework version of my project to latest, the Newtonsoft.Json package dependency and its reference came alive instantly.

提交回复
热议问题