CodeFluent Entities Documentation
Industrializing the Production Process
See Also Send comments on this topic.
CodeFluent Entities > Architect Guide > Generating > Producer > Industrializing the Production Process

Glossary Item Box

First, the CodeFluent Meta Compiler tool is a command line tool, therefore you can automate generation through scripts.

Moreover, CodeFluent Entities provides a MsBuild Task in the CodeFluent.Model assembly which you can use to industrialize the generation process.

Use the msbuild.exe program and a msbuild XML file referencing the provided task to generate model.

The following example shows the msbuild file which builds a .CFX model defined by the ProjectName variable.

MSBuild File Copy Code
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <UsingTask TaskName="Produce" AssemblyFile="C:\Program Files\SoftFluent\CodeFluent\Current\CodeFluent.Model.dll" />
    <Target Name="CFBuild">
        <Produce Source="$(ProjectName).cfx" />
    </Target>
</Project>

 

See Also