NuGet add reference error while installing packages

前端 未结 20 903
太阳男子
太阳男子 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:56

    In my case, deleting all occurrences of 'EntityFramework...' files in the Bin folder (open the folder in Windows Explorer) worked form me. I didn't have the packages folder in my project. The 'EntityFramework...' files were added by different action.

    NOTE: You may need to rebuild project to remove error(s).

提交回复
热议问题