Generation fails code in a net47 project that references a netstandard2.0
The source generation fails code in a net47 project that references a netstandard2.0.
A possible workaround is to include a net47 target framework in the referenced project.
See this roslyn issue: dotnet/roslyn#23114