Whenever I tried opened the Entity Framework’s edmx file, Visual Studio 2008 would simply close. I tried to google, stack overflow. But couldn’t find the answer.
I noticed that when I double clicked on the edmx file, the status bar said “Initializing toolbox” just before closing of Visual Studio.
- Close all the open windows using the Window->Windows menu in Visual Studio
- Explicitly click on the “Toolbox” pane. From the menu you would choose View->Toolbox.
- Then double click on .edmx to open it. You should be able to open it successfully.
I still unsure whether .edmx opened because I closed all the windows or because I opened the Toolbox explicitly.