C# Code Generation

Open-source C# projects categorized as Code Generation

Top 17 C# Code Generation Projects

Code Generation
  1. Entitas

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

  2. ReSharper

    ReSharper is now available in VS Code and Cursor. ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.

    ReSharper logo
  3. Serene

    Business Apps Made Simple with Asp.Net Core MVC / TypeScript (by serenity-is)

  4. FastExpressionCompiler

    Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.

  5. EntityFramework-Reverse-POCO-Code-First-Generator

    EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics, commercial use requires a paid licence. Obtain your licence from:

  6. Metalama

    A meta-programming framework for code generation, aspect-oriented programming, and architecture verification of large C# codebases.

  7. Testura.Code

    Testura.Code is a wrapper around the Roslyn API and used for generation, saving and compiling C# code. It provides methods and helpers to generate classes, methods, statements and expressions.

  8. UI-Toolkit-Plus

    Boilerplate Code Generation, Tabs, Reorderable Manipulator, Built-in USS Exporter

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. ExpressionTreeToString

    String representations of expression trees + library of expression tree objects

  11. NTypewriter

    File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.

  12. Textrude

    Code generation from YAML/JSON/CSV models via SCRIBAN templates

  13. M31.FluentAPI

    Generate fluent builders for your C# classes with ease.

  14. Coalesce

    Quickly build amazing web apps

  15. PocketBaseClient

    C# client to interact with a particular PocketBase application: an ORM mapped to your PocketBase server. [This project is in active development. The things described below could change]

  16. spiderly

    .NET (C#) Web App Framework Built For AI Coding Agents

  17. DapperCodeGenerator

    Simple C# Code Generator to create Database Models and Dapper CRUD

  18. rxcg

    A regular expression matcher generator for C

  19. soft-web-app-generator

    Spiderly Project Starter Template Infrastructure Initializer

  20. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Code Generation discussion

Log in or Post with

C# Code Generation related posts

  • .NET Compiler Platform ("Roslyn") Analyzers VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • StyleCop VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • StyleCopAnalyzers VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • NConcern VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • Metalama VS Fody - a user suggested alternative

    2 projects | 7 Dec 2023
  • Ever wanted to see USS selectors for Unity's Visual Elements? With this tool, you can! github.com/ErnSur/UI-Toolkit-Plus

    1 project | /r/Unity3D | 22 Oct 2022
  • We all make mistakes sometimes..

    2 projects | /r/csharp | 13 Oct 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Code Generation projects in C#? This list will help you:

# Project Stars
1 Entitas 7,627
2 Serene 2,680
3 FastExpressionCompiler 1,360
4 EntityFramework-Reverse-POCO-Code-First-Generator 714
5 Metalama 407
6 Testura.Code 296
7 UI-Toolkit-Plus 225
8 ExpressionTreeToString 167
9 NTypewriter 150
10 Textrude 139
11 M31.FluentAPI 137
12 Coalesce 80
13 PocketBaseClient 58
14 spiderly 60
15 DapperCodeGenerator 52
16 rxcg 1
17 soft-web-app-generator 0

Sponsored
ReSharper is now available in VS Code and Cursor
ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.
www.jetbrains.com

Did you know that C# is
the 11th most popular programming language
based on number of references?