Changing where the exe file compiles

This is a discussion on Changing where the exe file compiles within the C# Programming forums, part of the General Programming Boards category; Is there a setting in Visual Studio 2008 that allows me to decide which folder gets treated like the bin/debug ...

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    15

    Changing where the exe file compiles

    Is there a setting in Visual Studio 2008 that allows me to decide which folder gets treated like the bin/debug folder where the exe is compiled?

    The reason I ask is my school project is asking me to open several exe files from other projects and I want to be able be able to have all the exe files in one easy to access folder such as the main driver program's debug folder.

    So do I have to manually copy the exe files over? Or can I have it build directly to the folder I want?

  2. #2
    Registered User
    Join Date
    Mar 2009
    Location
    england
    Posts
    209
    In the Project menu at the top of VS, select the Properties option at the bottom. Click the Build tab, look at the bottom of the options for Output path.

    However if you know the path to these other exe files then what is stopping you from adding the path to your file operations?

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    15
    Nothing is wrong with doing it that way. Just my personal preference. Thanks for the solution though.

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    412
    If the projects are all part of the same solution the exe files should all end up in <solution dir>\debug (or release) automatically

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 09:47 AM
  2. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  3. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  4. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21