Missing XML comment for publicly visible type or member

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Missing XML comment for publicly visible type or member

Message par Clippy »

Missing XML comment for publicly visible type or member
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Missing XML comment for publicly visible type or member

Message par Clippy »

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# »