Codegen Issues .net standard
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Project format changed. Now files in the directory are automatically included in project - this make Modlr not find them in project file and codegen has become sktechy.
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.  


Add this to Project
Add this to Project:
   <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
   <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
  </PropertyGroup>
  </PropertyGroup>
Also make sure you have this dependency on files:
Also, make sure you have this dependency on files:
  <Compile Update="EcoProject1\Class3.eco.cs">
  <Compile Update="EcoProject1\Class3.eco.cs">
   <DependentUpon>Class3.cs</DependentUpon>
   <DependentUpon>Class3.cs</DependentUpon>
  </Compile>
  </Compile>
This should be fixed in FW..
This should be fixed in FW.
 
See also: [[Codegen failed]], [[Code generation not working]]
[[Category:MDriven Framework]]
[[Category:MDriven Framework]]
{{Edited|July|12|2024}}

Latest revision as of 15:28, 10 February 2024

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

This page was edited 97 days ago on 02/10/2024. What links here