Page 1 of 1

Can't access the diagram in VS2010.

Posted: Tue 13 Aug 2013 20:59
by Xorcist
So I initially started a new web application, added a new Devart NHibernate Model to it, and I was presented with an empty diagram which I then proceeded to fill. Then I saved my project. Everything worked well...

The next day I loaded my project, and I double clicked the DataModel1.hbml file, and I get a XML code listing instead of a diagram. In fact I've tried opening the DataModel1.Diagram.view, DataModel1.edps, and DataModel1.info, and none of them get me back to the diagram... could someone clue me in?


Edit: It appears I have to right click the file and "Open With..." then pick Entity Developer. This is really confusing, why would I ever want to go into the XML unless there was a problem? "Open" should just open in in Entity Developer and there should be an option for "View Code".

Re: Can't access the diagram in VS2010.

Posted: Wed 14 Aug 2013 15:15
by Shalex
This is a Visual Studio issue (the default program for *.hbml was set to XML Editor for some reason).

Please fix the issue in the following way: Right click on your *.hbml in Solution Explorer > Open With > select Entity Developer and press "Set as Default" > OK.