My .csproj
file uses
<GenerateDocumentationFile>true</GenerateDocumentationFile>
to indicate that we will be auto-generating documentation.
A given package I use creates loads of code using source generators. However, during compilation it raises dozens of warnings.
How to selectively ignore *.g.cs
from this analysis?
Important: because it’s not me that is generating the code, I cannot add // <auto-generated/>
or other stuff into the code.
2