8

That is. I format my computer and install the entire enviroment again, but I can't see the data model diagram. I mean, I open the data model (edmx file) and I see all the DB tables and DB information in an XML file. Not the diagram.

I installed vs2010 sp1, net framework 4, micro net framework 4.1, entity framework 4.1

I don't know what I am missing. Can you help me?

Without that I cannot update the model.

Is seems easy but I don't know how to solve it.

Faabass
  • 1,394
  • 8
  • 29
  • 58

2 Answers2

16

If you open the EDMX file in the solution explorer of Visual Studio with "Right-Mouse-Click->Open With..." ...

enter image description here

...what do you see in the following dialog? It should be like this:

enter image description here

If looks like in your case the "default" (= format when you just double click on the EDMX file) is one of the XML editors. It should be "ADO.NET Entity Data Model Designer". You can make it the default by selecting the line in the list box and then click on "Set as Default" on the right side.

Slauma
  • 175,098
  • 59
  • 401
  • 420
  • Thanks for the mini tutorial! It will be very helpful.- I tried that but I found that I dont have the ADO.NET option in that box. Which app I need to instal to see that option? – Faabass Aug 10 '12 at 02:26
  • @Faabass: That's strange. I thought the model designer will always automatically installed with Visual Studio. I'm sorry but I don't know what is missing. I suggest that you create a new question to ask how to install the Model designer. – Slauma Aug 10 '12 at 08:19
  • 1
    That was the problem, the ADO.NET Model was not installed in my VS. I have to reinstall the program to install the ADO.NET, and then I have to do what you told me. Thanks a lot! – Faabass Aug 10 '12 at 16:32
0

download and install .NET framework 4.8 helps me.

user2686690
  • 175
  • 2
  • 3