bmilano
Member
- Joined
- Nov 15, 2006
- Messages
- 10
- Programming Experience
- 10+
Hi,
I'm worried this is a dumb question, but I've searched the forum and didn't see it answered elsewhere.
I've converted a large VB 2003 app to VB 2005, after a lot of trial and error. I want to turn a particular warning off, but I don't want to turn all warnings off. The warning ID is BC40025. According to the help page, I should be able to specify "/nowarn:BC40025" as a command-line argument to make this particular warning go away.
Here's the dumb question (drumroll, please)...
How exactly DO I specify a command-line argument like this for Visual Studio? I tried doing it in the shortcut for Visual Studio, but that's telling me that "nowarn:BC40025" is an invalid command line switch. Near as I can figure, I can't seem to find a way to do it within Visual Studio. The ways to configure warnings and errors within Visual Studio seem to be an all-or-nothing thing.
Thanks in advance,
Bill
I'm worried this is a dumb question, but I've searched the forum and didn't see it answered elsewhere.
I've converted a large VB 2003 app to VB 2005, after a lot of trial and error. I want to turn a particular warning off, but I don't want to turn all warnings off. The warning ID is BC40025. According to the help page, I should be able to specify "/nowarn:BC40025" as a command-line argument to make this particular warning go away.
Here's the dumb question (drumroll, please)...
How exactly DO I specify a command-line argument like this for Visual Studio? I tried doing it in the shortcut for Visual Studio, but that's telling me that "nowarn:BC40025" is an invalid command line switch. Near as I can figure, I can't seem to find a way to do it within Visual Studio. The ways to configure warnings and errors within Visual Studio seem to be an all-or-nothing thing.
Thanks in advance,
Bill