mdriven

MDriven | Modlr opens in XML editor even though the default is set to Modlr


I've been facing an issue with my project wherein on double click of the .ecomdl file instead of opening in the Modlr, the file opens in an XML editor.

As you can see in the attached screenshot, Modlr Files is set as the default program to open .ecomdl still Visual Studio opens it up in an XML editor.

Default File

I've tried to reset my visual studio settings too, reinstalled visual studio, MDriven

Have anyone of you ever faced a similar issue?

Thanks.


Solution

  • It is the project file that has this:

    <None Include="YOURMODEL.ecomdl">
      <SubType>Designer</SubType>
    </None>
    

    When it should look like this:

    <None Include="YOURMODEL.ecomdl">
    </None>