locked
How do I build an EXE in Visual Studio C# 2010 Express

    Question

  • Is there any way to generate an .exe in Visual C# 2010 Express?

    Sunday, July 31, 2011 1:16 AM

Answers

  • Thanks much. That was the problem. I am cross posting the answer from the link above so others have quick access to it.

     

    Thanks again!

     

    1. Enable Tools -> Settings -> Expert Settings.

    2. Go to Tools -> Options. In the dialog box, check the Show All Settings option in the bottom left.

    3. In the above dialog, now choose Projects and Solutions -> General. Check the option Show advanced build configurations. Click Okay.

    You should be able to see the Release/Debug options in the toolbar now.

    • Marked as answer by Robert Fonda Sunday, July 31, 2011 12:48 PM
    Sunday, July 31, 2011 12:48 PM
  • Hi,

    just create a project which target is an exe. One example is a Windows Forms Application. Whenever you build the project, the exe will be generated.

    (So even starting the debug from the Visual C# GUI will generate the EXE.)

    With kind regards,

    Konrad


    Edit: Maybe http://stackoverflow.com/questions/2812423/how-to-switch-between-debug-release-in-visual-c-2010-express is also helpfull.
    • Marked as answer by Robert Fonda Sunday, July 31, 2011 12:48 PM
    Sunday, July 31, 2011 8:33 AM

All replies

  • Hi,

    just create a project which target is an exe. One example is a Windows Forms Application. Whenever you build the project, the exe will be generated.

    (So even starting the debug from the Visual C# GUI will generate the EXE.)

    With kind regards,

    Konrad


    Edit: Maybe http://stackoverflow.com/questions/2812423/how-to-switch-between-debug-release-in-visual-c-2010-express is also helpfull.
    • Marked as answer by Robert Fonda Sunday, July 31, 2011 12:48 PM
    Sunday, July 31, 2011 8:33 AM
  • Thanks much. That was the problem. I am cross posting the answer from the link above so others have quick access to it.

     

    Thanks again!

     

    1. Enable Tools -> Settings -> Expert Settings.

    2. Go to Tools -> Options. In the dialog box, check the Show All Settings option in the bottom left.

    3. In the above dialog, now choose Projects and Solutions -> General. Check the option Show advanced build configurations. Click Okay.

    You should be able to see the Release/Debug options in the toolbar now.

    • Marked as answer by Robert Fonda Sunday, July 31, 2011 12:48 PM
    Sunday, July 31, 2011 12:48 PM