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> |
|
Tutorials
Microsoft Visual Studio Integration