jkulisic
jkulisic

Reputation: 319

Enabling triple/three slash XML comments in Visual Studio 2010 for C#

My work version of Visual Studio 2010 doesn't seem to generate XML commentary for me while coding in C# and typing ///. Yet, my Visual Studio 2010 at home does this just fine, as does the version of Visual Studio 2008 I have at work.

I have searched for the option to enable these XML comments both locally and online to no avail. Can anyone please tell me where I can toggle whether the /// XML comments are enabled? Thank you.

Upvotes: 13

Views: 10128

Answers (2)

DaveShaw
DaveShaw

Reputation: 52798

There's an option in the Text Editor section of Tools, Options... called "Generate XML documentation comments for ///".

Generate XML documentation comments for ///

Upvotes: 20

Oded
Oded

Reputation: 499212

Tools → Properties → Text Editor → C# → Advanced.

Tick the checkbox next to Generate XML documentation comments for ///.

XML comments config option

Upvotes: 15

Related Questions