Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Console App

Console App

Scheduled Pinned Locked Moved C#
visual-studiocsharpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    niceguyeddie1999
    wrote on last edited by
    #1

    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

    R S 2 Replies Last reply
    0
    • N niceguyeddie1999

      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

      R Offline
      R Offline
      RobertChan2000
      wrote on last edited by
      #2

      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!

      1 Reply Last reply
      0
      • N niceguyeddie1999

        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

        S Offline
        S Offline
        Sean89
        wrote on last edited by
        #3

        The .exe is in your projects 'bin\Debug' folder. Wacky waving inflateable arm flailing tube man! - Family Guy

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups