Create multiple source generator in one project

133 views Asked by At

Can I create multiple Incremental source generators in one project or do I need to create separate projects for each generator separately?

An example of a project structure with source generators when:

Generators.csproj
  -- Generator1.cs
  -- Generator2.cs

Will this affect the productivity and speed of the build compared to the situation when the generators are located in different projects?

0

There are 0 answers