使用VS2010创建EntityDataModel出错

使用VS2010创建EntityDataModel的链接时,有时会出现错误“"Unable to add data connection"

"The given key was not present in the dictionary"

解决方案:

1、将VS2010全部关闭。

2、C:\Users\用户名\AppData\Roaming\Microsoft\VisualStudio\10.0\ServerExplorer中找到DefaultView.SEView文件,将它删除。

3、重新使用VS2010即ok.

原文地址:https://www.cnblogs.com/smallstone/p/2085451.html