问题
As the title says, somehow the entity designer disappeared from my installation of Visual Studio 2010.
When trying to open an .edmx file, it only opens it in the XML editor. When i choose "Open With...", the Entity designer doesn't show up in the list.
It has worked before, and i don't know of anything i could have done to remove it from the list. Does anyone know how i can re-add it? Thanks!
回答1:
First thing to check is, is this a problem with your project or with your VS installation.
- Try creating a new project and see if the entity designer is in the list
If it is you have two options
- Move your files to the new project
- Try to repair your project file
The way it works is that there are a set og Guids in the project file that control what is available in that project. So you can open the project files in notepad, find out which is missing and then move them over.
来源:https://stackoverflow.com/questions/3724766/entity-designer-missing