Uninstall EntityFramework using the Package Manager Console

后端 未结 9 708
死守一世寂寞
死守一世寂寞 2021-02-01 17:30

I\'m trying to re-install my EntityFramework package using

PM> Install-Package EntityFramework

But I get the following message

9条回答
  •  自闭症患者
    2021-02-01 17:48

    I have been facing this issue for days. To solve the issue I tried the latest version of framework, uninstalled it and installed previous version. All the possibilities tried were not working for me. At last, I found a solution and just run the below command at Package manger Console.

    PM>install-Package Microsoft.AspNet.Identity.EntityFramework
    

    everything is done by itself. Uninstalling old version and installing the latest version of Ef under Microsoft.AspNet.Identity.EntityFramework 2.2.2 and it updates the files of my project by itself.

    After installation, the image below show what I have by going to tools->Nuget Packagemanager->package visualizer

    enter image description here

提交回复
热议问题