Double-click edml file opens XML view

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
quip85673456
Posts: 13
Joined: Mon 18 Apr 2011 16:37

Double-click edml file opens XML view

Post by quip85673456 » Thu 12 May 2011 15:54

We recently switched to using the devart entity model designer. Originally double-clicking would bring up the visual designer for the model.

But now, when I double-click it in visual studio, the xml view is opened.

I can add a new edml file, and then if I double-click it, the visual designer is opened.

So it seems that this one specific edml file (CultivateModel.edml) somehow is broken. Is there something in the file that would cause it to open in XML?

Notes:
We are using version 6.30.145 beta, and I have reinstalled it, but no help.
It appears that just this one specific edml file is broken, others bring up the visual designer.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 13 May 2011 11:50

This is a known VS Designer SubType issue. It was discussed here, for example.
The solution is to remove the

Code: Select all

Designer
line from the node in the .csproj file.

quip85673456
Posts: 13
Joined: Mon 18 Apr 2011 16:37

Post by quip85673456 » Fri 13 May 2011 16:12

Awesome, thank you!!!

Post Reply