Visual Studio
This page was created by Hans.karlsen@mdriven.net on 2017-01-22. Last edited by Stephanie@mdriven.net on 2025-01-30.

When running MDriven in Visual Studio you have access to code generation.

If you open the model from within visual studio and it loads as xml and not as a model surface there is probably one of possible two problems:

  1. You have not installed the MDriven Framework for the correct version of Visual Studio
  2. Your ecomdl file has been tagged by VS to open in the xml designer - if this is the case the project file looks like this on the node for ecomdl file:

<None Include="yourmodel.ecomdl">

<SubType>Designer</SubType>

</None>

when in fact it should look like this:

<None Include="yourmodel.ecomdl" />

You can load the project file to manually fix this