473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Disable XML Document warnings in code.

UJ
Is there any way to disable either the generation or the warnings from the
XML Document generator? I have a couple of public enums which it is saying
need the documentation and to add it would make the code hard to read (the
enum values are pretty self explanatory.)

TIA - Jeff.
Feb 21 '06 #1
3 5947
I know what you are referring to, and yes it is annoying.
Don't think so, it's either "on" or "off". You could always turn
documentation off in the Build property sheet temporarily, and then back on
when you need it.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"UJ" wrote:
Is there any way to disable either the generation or the warnings from the
XML Document generator? I have a couple of public enums which it is saying
need the documentation and to add it would make the code hard to read (the
enum values are pretty self explanatory.)

TIA - Jeff.

Feb 22 '06 #2
In article <e0**************@TK2MSFTNGP09.phx.gbl>, fr**@nowhere.com says...
Is there any way to disable either the generation or the warnings from the
XML Document generator? I have a couple of public enums which it is saying
need the documentation and to add it would make the code hard to read (the
enum values are pretty self explanatory.)

TIA - Jeff.


If your using VS2005 try this:

#pragma warning disable 1591
// your enum here
#pragma warning restore 1591

--
Larry Steeger
RusSte, Inc. - http://www.russte.com
Feb 22 '06 #3
UJ
I tried it and unfortunately I'm still in VS2003 and it doesn't work.

Thanks anyway.

"Lawrence R. Steeger" <st*********@yahoo.com> wrote in message
news:MP************************@msnews.microsoft.c om...
In article <e0**************@TK2MSFTNGP09.phx.gbl>, fr**@nowhere.com
says...
Is there any way to disable either the generation or the warnings from
the
XML Document generator? I have a couple of public enums which it is
saying
need the documentation and to add it would make the code hard to read
(the
enum values are pretty self explanatory.)

TIA - Jeff.


If your using VS2005 try this:

#pragma warning disable 1591
// your enum here
#pragma warning restore 1591

--
Larry Steeger
RusSte, Inc. - http://www.russte.com

Feb 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dennis Allen | last post by:
Hi. What's the best way to display an image, disabling the user's ability to right-click on it? I believe you have to use <body oncontextmenu="return false">. Would the following work? var...
5
by: James Moe | last post by:
Hello, 1. The document.all property (array?) seems to be a popular IE-only attribute. Other browsers (Opera, Mozilla) do not seem to care for it which, of course, occasionally produces weird...
3
by: Jason Heyes | last post by:
Does anyone debugger-related warnings like this one? warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<cha r>...
1
by: Codex Twin | last post by:
Hello group:: I have used XML documentation genearted from source (used by NDoc). However, I am left with hundreds of extraneous warnings in the Build output that I can do without and are not...
0
by: Robert Ladd | last post by:
Hi, I'm trying to disable the asp.net calendar control from a javascript function, but it doesn't disable the doPostBack. To simplify the situation, assume a page with 4 controls. A...
11
by: Ejaz ul Haq | last post by:
Dear All, I have upgraded my source code from VS 2003 to VS 2005, and my code is breaking due to the _SECURE_ATL macro in some methods of ATL. As it is executed all the times though there is also...
5
by: Tanja Krammer | last post by:
Hi experts, is it possible to disable linker warnings (i.e. LNK4204)? Thanx
2
by: badkarspiloten | last post by:
Hi there! I have just migrated from VS 2003 to VS 2005 and are getting lots of compile warnings when building my solution. Some of them I want to disable. I have managed to do this with my...
16
by: nagmvs | last post by:
Hi, Can any one tell me How to disable Keyboard Functions using JavaScript.If knows please tell me the code.Also tell me the code for mouse disable also. Thanks, Nagesh.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.