Visual Studio
No edit summary
No edit summary
Line 1: Line 1:
When running MDriven in Visual Studio you have access to [[code generation]].
You have access to [[code generation]] when running MDriven in Visual Studio.  


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:
If you open the model from within Visual Studio and it loads as XML instead of as a model surface, there is probably one of possible two problems:
# You have not installed the MDriven Framework for the correct version of Visual Studio
# You have not installed the MDriven Framework for the correct version of Visual Studio
# 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:  
# 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 the ecomdl file:  
<code><None Include="yourmodel.ecomdl"></code>     
<code><None Include="yourmodel.ecomdl"></code>     


Line 14: Line 14:
<code><None Include="yourmodel.ecomdl" /></code>   
<code><None Include="yourmodel.ecomdl" /></code>   


You can load the project file to manually fix this
You can load the project file to manually fix this.


Read on the [[MDriven Framework Visual Studio installation]]
Read more on the [[MDriven Framework Visual Studio installation|MDriven Framework Visual Studio installation here.]]
[[Category:Visual Studio]]
[[Category:Visual Studio]]

Revision as of 06:00, 24 February 2023

You have access to code generation when running MDriven in Visual Studio.

If you open the model from within Visual Studio and it loads as XML instead of 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 the 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.

Read more on the MDriven Framework Visual Studio installation here.

This page was edited 42 days ago on 04/04/2024. What links here