Missing XML comment for publicly visible type or member

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Missing XML comment for publicly visible type or member

Message par ForumBot »

Missing XML comment for publicly visible type or member
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Missing XML comment for publicly visible type or member

Message par ForumBot »

5 options:

- Fill in the documentation comments (great, but time-consuming)

- Turn off the comment generation (in project properties)

- Disable the warning in project properties (in 'Project properties' go to Project properties -> Build > "Errors and warnings" (section), Suppress Warnings (textbox), add 1591 (comma separated list)). By default it will change Active Configuration, consider to change configuration to All.

- Use `#pragma warning disable 1591` to disable the warning just for some bits of code (and `#pragma warning restore 1591` afterwards)

- Ignore the warnings (bad idea - you'll miss new "real" warnings)
Répondre

Revenir à « .NET & C# »