Codegen Issues .net standard
(Replacing message template with parser tag)
(Updated Edited template to July 12, 2025.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
The project format changed. Now, files in the directory are automatically included in the project. This makes Modlr unable to find them in the project file, and [[Code generation|Codegen]] has become sketchy.  
The project format changed. Now, files in the directory are automatically included in the project. This makes Modlr unable to find them in the project file, and [[Documentation:Code generation|Codegen]] has become sketchy.  


Add this to Project:
Add this to Project:
Line 11: Line 11:
This should be fixed in FW.
This should be fixed in FW.


See also: [[Codegen failed]], [[Code generation not working]]
See also: [[Documentation:Codegen failed|Codegen failed]], [[Documentation:Code generation not working|Code generation not working]]
[[Category:MDriven Framework]]
[[Category:MDriven Framework]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:47, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2020-11-18. Last edited by Edgar on 2025-01-20.

The project format changed. Now, files in the directory are automatically included in the project. This makes Modlr unable to find them in the project file, and Codegen has become sketchy.

Add this to Project:

  <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>

Also, make sure you have this dependency on files:

<Compile Update="EcoProject1\Class3.eco.cs">
  <DependentUpon>Class3.cs</DependentUpon>
</Compile>

This should be fixed in FW.

See also: Codegen failedCode generation not working