by Gabriel Lozano-Moran
24. November 2009 22:14
I have noticed that when I double-click an EDMX file after closing it first, that Visual Studio 2008 (with SP1) does not open the ADO.NET Entity Data Model Designer. Looking on the internet there are apparently more people having the same issue but so far the only workaround is to open it with the XML editor first, closing it and then reopening it by double-clicking:
Using Process Monitor, I saw that the value LinkedEditorGuid for the EDMX designer is not available on my machine:

So this is what I tried and it seems to have solved the problem on my machine (this is for Windows XP x64):
- Start the Registry Editor
- Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Editors\{c99aea30-8e36-4515-b76f-496f5a48a6aa}
- Add a new String Value named LinkedEditorGuid.
- Set the value of LinkedEditorGuid to {FA3CD31E-987B-443A-9B81-186104E8DAC1}. (this is the GUID for the XML editor)
903abdd4-a7a5-4d0a-95d3-5666175bd822|0|.0
Tags: