Command Line Arguments within IDE

R

Rick

Hi,

Is there a way to test with command line argument while developing and
debugging within my VS .NET IDE? I heard that there's a simple way to do
this. Thanks.

Rick
 
I

Ignacio Machin \( .NET/ C# MVP \)

hi,

go to the project properties, Configuration properties / debugging there
you have a "Command luine arguments" option

cheers,
 
C

CometJoe

Open the Properties page for the Startup Project...
In the tree on the left, select "Configuration Properties" and under
that select "Debugging"...on the right you'll see a section named
"Start Options" and under there is the "Command-Line Arguments". This
setting is only for the current configuration, meaning if you switch
from Debug Mode to Release Mode, you'll need to set up this for
each.
Hope this helps,
Joe

http://www.cometracing.com/images/BBS/cmdline.jpg
 
R

Rick

Joe and Ignacio,

Thank you for the tip. I knew there had to be a simple way.

Rick

CometJoe said:
Open the Properties page for the Startup Project...
In the tree on the left, select "Configuration Properties" and under
that select "Debugging"...on the right you'll see a section named
"Start Options" and under there is the "Command-Line Arguments". This
setting is only for the current configuration, meaning if you switch
from Debug Mode to Release Mode, you'll need to set up this for
each.
Hope this helps,
Joe

http://www.cometracing.com/images/BBS/cmdline.jpg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top