Debugging Windows Forms application that accepts command line arguments in Visual Studio

Viewed 6661

I created the application in Windows Forms that checks, if it contains specific command line arguments and acts accordingly.

Now I would like to test/debug my code with different command lines arguments.

I entered command line arguments by clicking on my project and choosing Properties/Debug. But when I start the debugging, I receive following message

The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable.

In Properties/Security, "This is full trust application" is selected, so I am not sure why it is complaining.

2 Answers
Related