Has anyone given up on SourceGenerators and now use MsBuild Hooks to run custom code generators?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Buildalyzer

    A utility to perform design-time builds of .NET projects without having to think too hard about it.

  • Sure, creating a custom compilation for a few files is not a problem, especially when all dependencies are well-known. The problem is creating a compilation for any project provided by the user, even with help from https://github.com/daveaglick/Buildalyzer it is not so straightforward. It also means that we will be building the same project twice, which is quite painful for larger projects.

  • Handlebars.Net

    A real .NET Handlebars engine

  • I have worked with custom code genertators that I wrote using templating systems like Handlebars.NET or similar, and I have also worked with incremental and 'regular' source generators.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts