Reading compilation options and the C# version in source generators: Creating a source generator - Part 12
In this post I show how to read details of a target project from a source generator, such as assembly name, the current configuration, or the c# version
https://andrewlock.net/creating-a-source-generator-part-12-reading-compilation-options-and-csharp-version-in-source-generators/
Post #9265
559