More Group Sites
School Rankings
Jobless Net
Better Home
Enviro++


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

How to suppress "missing xml comment for publicly visible type or member" Options · View
hong
Posted: Tuesday, May 10, 2011 8:37:18 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 335
Points: 711
Location: Australia
It's easy to suppress the warning. But before doing that, we need to ask ourselves "can we afford to lose the good documentation?". If the answer is no, we should add the comments. Otherwise we have the following 3 options to disable it:

1. Turn off the comment generation in project properties - whole project

2. Disable the warning 1591 in project properties - whole project

3. Use "#pragma warning disable 1591" to disable the warning just for some bits of your code (and "#pragma warning restore 1591" afterwards) - part of your code

Sponsor
Posted: Tuesday, May 10, 2011 8:37:18 PM
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.310 seconds.