Console App
-
Hi, Im developing a console application in visual studio and I just want my project to produce a .exe like in C. Is this possible? I can run it from the start..debugging thing but I want the exe. Also how do you run from VS and pass in command Arguements? Thanks in advance
-
Hi, Im developing a console application in visual studio and I just want my project to produce a .exe like in C. Is this possible? I can run it from the start..debugging thing but I want the exe. Also how do you run from VS and pass in command Arguements? Thanks in advance
For VS 2005, for existing application, in solution explorer, right click on the project and choose "Properties", you will see Properties Tabs Windows. Select "Application" Tab and there is a combobox called "Output Type", select "Console Application", you will get Console Application like C.(for new apps, choose Console Application in start up.) For Command Line Arguments, don't close properties tabs windows. Select "Debug". You will see "Start Options", there you can set "Command Line Arguments" and "Working directory" as well. For VS 2003, in solution explorer, right click on the project and choose "Properties", you will see Property Pages Dialog. On left window, you will see "common Properties" and "Configuration Properties". Expand "Configiration Properties", you will see "Debugging". On the right side, you will see "Start Options", expand this. You see "Command Line Arguments" and "Working Directory". Enjoy!
-
Hi, Im developing a console application in visual studio and I just want my project to produce a .exe like in C. Is this possible? I can run it from the start..debugging thing but I want the exe. Also how do you run from VS and pass in command Arguements? Thanks in advance