Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeGenerator not suppress Missing XML comment #8290

Closed
SimTsai opened this issue Jan 28, 2023 · 3 comments · Fixed by #8940
Closed

CodeGenerator not suppress Missing XML comment #8290

SimTsai opened this issue Jan 28, 2023 · 3 comments · Fixed by #8940
Assignees
Milestone

Comments

@SimTsai
Copy link

SimTsai commented Jan 28, 2023

when project <GenerateDocumentationFile>True</GenerateDocumentationFile>
Generator file have many warning CS1591, can we suppress them in CodeGenerator ?

@ghost ghost added the Needs: triage 🔍 label Jan 28, 2023
@ReubenBond
Copy link
Member

Hmm, .g.cs files shouldn't trigger warnings at all, as far as I know. I wonder why this is happening.

@ReubenBond ReubenBond self-assigned this Jan 30, 2023
@SimTsai
Copy link
Author

SimTsai commented Jan 31, 2023

demo code source
pull and run dotnet build. you can see many warning.

CS1591

@m3nax
Copy link
Contributor

m3nax commented Apr 11, 2024

Same here. It start triggering warnings when i put <GenerateDocumentationFile>True</GenerateDocumentationFile> in .csproj

C:\Users\mmenegaz\source\repos\BckSvc\src\shared\BckSvc.Grains\Orleans.CodeGenerator\Orleans.CodeGenerator.OrleansSerializationSourceGenerator\BckSvc.Grains.orleans.g.cs(15,25,15,51): warning CS1591: Missing XML comment for publicly visible type or member 'Codec_BackupRetentionState'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants