问题
I'm doing these steps:
- Create new vs2010 C# console application
- Project menu -> Add New Item
- select Ado.NET Entity Data Model -> click Add
- Entity Data Model wizard window opened.
- Select Generate From database -> Click Next
- 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:
- in the route C:\Users\username\AppData\Roaming\Microsoft\VisualStudio\11.0\ServerExplorer
- delete the file "DefaultView.SEView"
- press keys window + R-> and write devenv.exe /ResetSettings
- And Open Visual Studio
来源:https://stackoverflow.com/questions/11129592/cant-add-ado-net-entity-data-model