Codegen Issues .net standard
No edit summary
m ((username removed) (log details removed): Moving to Documentation namespace)
(No difference)

Revision as of 20:52, 20 December 2023

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