BuildableExpressions.Generator sample projects can be found here, demonstrating:

  • Code generation via a variety of C# project and framework types
  • Customised output projects and logging
  • Building SourceCodeExpressions from C# source code strings and the BuildableExpressions API.

The below gif shows code generation in the CsvGenerator sample, a project which generates classes from CSV files and outputs them to a separate Models project.

The gif shows:

  • The input CSV files
  • Output files being generated by building the CsvGenerator project
  • The CsvGenerator.Models project being rebuilt with its new, generated classes
  • The generated output files

CsvGenerator