NuGet upgrade issue

后端 未结 5 1471
南旧
南旧 2021-02-01 12:04

I have the version of NuGet that comes with MVC3 (1.0), but when I try to upgrade to the latest version (currently 1.4) it failes and I get this in the log file:

5条回答
  •  一向
    一向 (楼主)
    2021-02-01 12:32

    1. Close all visual studio 2010 instances.
    2. Open visual studio again as administrator
    3. Go to "Tools" > "Extension Manager"
    4. Uninstall NuGet
    5. Install NuGet again.

    if you are not able to uninstall it go to:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager

    and remove this folder. deleting this is at your own risk!

提交回复
热议问题