Can't add Ado .Net Entity Data Model

…衆ロ難τιáo~ 提交于 2019-12-08 12:45:50

问题


I'm doing these steps:

  1. Create new vs2010 C# console application
  2. Project menu -> Add New Item
  3. select Ado.NET Entity Data Model -> click Add
  4. Entity Data Model wizard window opened.
  5. Select Generate From database -> Click Next
  6. The next window appears for less than 1 second and it gets closed automatically.

I tried to reset vs2010 setting but no good news, the problem still exist.

I also tried it with ASP.NET Website.

What is the problem?


回答1:


I had a similar problem and finally fixed it by deleting

c:\users\myusername\appdata\roaming\microsoft\visualstudio\10.0\SeverExplorer\DefaultView.SEView.




回答2:


I can resolved this fix:

  1. in the route C:\Users\username\AppData\Roaming\Microsoft\VisualStudio\11.0\ServerExplorer
  2. delete the file "DefaultView.SEView"
  3. press keys window + R-> and write devenv.exe /ResetSettings
  4. And Open Visual Studio


来源:https://stackoverflow.com/questions/11129592/cant-add-ado-net-entity-data-model

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!