Accessing MSBuild properties and user configuration to source generators: Creating a source generator - Part 13
In this post I describe how to read MSBuild settings from inside a source generator, and how to use this to allow user configuration of your generator
https://andrewlock.net/creating-a-source-generator-part-13-providing-and-accessing-msbuild-settings-in-source-generators/
Post #9277
591