Zenya
Zenya

Reputation: 1521

Detailed compiler warning settings in Visual Studio

How to change the detailed settings of the compiler warnings in Visual Studio? All I could find is the "Warning levels" property on the "build" tab of a project.

In particular, I'd like the VS to display "Missing XML comments" not only for public members, but also for internal and protected. Are such settings possible?

Upvotes: 1

Views: 314

Answers (1)

Vitor Py
Vitor Py

Reputation: 5190

Not really an answer to your question but you can use an external tool, like StyleCop, to enforce coding guidelines like documenting all members, regardless of the fact it's public or not.

Maybe you can add it as a pre-build event, integrating the enforcement with your build process.

Upvotes: 1

Related Questions