您的位置:首页 > 其它

学习MVC中出现的一个BUG

2016-06-07 22:36 204 查看
BUG描述:No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlServerCe.4.0’. Make sure the provider is registered in the ‘entityFramework’ section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.



网上的一些方法我试过,但是没有解决。

我是这样解决的:

点击工具-NuGet包管理器-程序包管理器控制台,然后输入install-package EntityFramework.SqlServerCompact。然后就解决了。

我是看下面这个网站解决的。

http://stackoverflow.com/questions/19821284/no-entity-framework-provider-found-for-the-ado-net-provider-with-invariant-name
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: