views:

877

answers:

3

When in VS 2008 if a developer hits the ''' it generates the XML comment tags for you, but this only works when the project setting for "Generate XML documentation file" is checked.

Is there a way to tell VS to generate the XML Comment tags, regardless of the project setting?

I think it is possible that someone may want comments but not create a XML documentation file.

In this case I am exceeding the current Team Settings, yet other developers don't want me to change this project setting. This forces me to flip this back before checking in the project.

I have the same problem with other Project settings like "code Analysis".

This is only a problem for VB.NET projects.

A: 

As far as I know, it will always create the xml comments....the Generate XML documentation I think only affects whether those comments are then compiled into an xml file.

Is it behaving like this on everyone's machine?

tbone
No, I have confirmed on 2 machines that it will NOT create XML Comment tags unless the "Generate XML documentation file" is check. C# works as expected, but VB.NET does not.
eschneider
A: 

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=477562

but obviously you already know that since you opened up the Connect issue.

Art
A: 

No for VB.NET and VS2008.

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=477562

eschneider
C# seems to have an added feature for the editor; I can't imagine it would be that hard to add for VB.See:Options>Text Editor>>C#>>>AdvancedPanel:XML Documentation CommentsCheck Box:Generate XML Documentation comments for ///
eschneider