Reputation: 87
I need to pass command line arguments to my c# project, I know I need to go solution properties, configuration options and under that I should be able to see debug options and within that there should be a field to pass in command line arguments - The problem I have is that I can't see the debug options, do I need to install something? Anyone's experienced this before?
thanks
EDIT: screenshot added
Upvotes: 1
Views: 2185
Reputation: 127543
I know I need to go solution properties
That is your problem, you need to go to the properties page of the project, not the solution.
When you go to the Debug tab of the project properites you should see something similar to this
Upvotes: 2
Reputation: 7282
You need to go to the Project properties, not the Solution configuration, to access the Debug settings and the command line arguments box. This is available to .exe and .dll projects.
Right-click the project name in Solution Explorer and select Properties at the bottom of the list.
Upvotes: 2