Home All Groups Group Topic Archive Search About

Re: Turn off deprecated warnings?

Author
7 Dec 2006 6:20 PM
Barry
Oh just give up will you.

Your incessant ramblings are becoming quite irritating.  You are in no
way useful to these Groups what so ever - you are a hindrance.

I have been reading your posts and I am quite frankly disappointed that
someone who claims to have so much knowledge does nothing to help
others.  Your posts portray you as an obnoxious, rude & stubborn
person.

Whether this is true or not we will never know - not that anyone in
these Groups would want to find out.

Author
7 Dec 2006 6:35 PM
Andrew Backer
You probably want the #pragma that disables warnings if you are a good
boy/girl/martian and don't want to do global disables, but I am not
sure what the equivalent in VB is since I've only don this in c#.

There is a /nowarn VB.Net compiler option, but I do not know how to set
it.

I have also read that, in the project file, you can find a element like
this :
<NOWARN>... bring out your warning id #s here ...</NOWARN>
Putting the warning # you are getting in there should stop the rambling
:)

Here is a C# source (the bad code project ) for the #pragma option, if
it helps somehow :
http://www.codeproject.com/debug/pragma_tips.asp

// Andrew
Author
8 Dec 2006 8:09 AM
marcwentink
Andrew Backer schreef:


> I have also read that, in the project file, you can find a element like
> this :
> <NOWARN>... bring out your warning id #s here ...</NOWARN>

Hey thanks! I changed the project file and that works, although I
rather do it in the code with a #pragma since that is clearer to future
programmers. You seem to have to use the number 40000 which is a
general number for all warnings concerning deprecated code.