Uninstall EntityFramework using the Package Manager Console

后端 未结 9 607
死守一世寂寞
死守一世寂寞 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:53

    if you have the connection string with provider name on it . Then make sure the provider name have definition below as in the config (providers)(provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /)(/providers)

    0 讨论(0)
  • 2021-02-01 17:54

    To remove/uninstall: In the Package Manager Console run:

    UnInstall-Package EntityFramework -Version 6.0.2

    0 讨论(0)
  • 2021-02-01 18:00

    In Package Manager Console you can write following command:

    Uninstall-package EntityFramework -force

    0 讨论(0)
提交回复
热议问题