Search code examples
.netconsole

How to pass arguments when debugging a dot net application


I have an command line that uses arguments, I have no problem with this, but each time I want to test the application, I need to compile it, run the CMD, call the application with the parameters from the CMD, because I didn't find any solution that let me dynamically pass arguments to the console in Visual Studio Any idea about that? Thanks a lot!!


Solution

  • Goto Project->Properties and click the Debug Tab.

    There is a section for command line arguments:

    enter image description here