NuGet add reference error while installing packages

前端 未结 20 911
太阳男子
太阳男子 2020-12-09 07:27

I am not able to install any package by Nuget. For example when I want install entity framework I receive following error:

install-package EntityFramework
Su         


        
20条回答
  •  一生所求
    2020-12-09 07:57

    When I went to Visual Studio 2015 Update 3, it broke for me, I tried many of the steps, in other answers to clear package folders / caches / etc.

    In the end I got it working via:

    • Full uninstall.
    • Went looking for all files/locations of visual studio (AppData/Documents/etc).
    • New re-install, it still didn't work (I had missed files in other locations).
    • Ran devenv commands : like /resetuserdata and /resetsettings
    • Ran a repair action.

    So just note doing a full uninstall won't clear out all your settings/cache data.

提交回复
热议问题