# vc2005 - full rebuild ?

This topic is 3871 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

if i change my project configuration from debug to release and vica versa, i always have to do a full rebuild as i get linker errors if i dont. How can i fix this? surely the debug and release stuff all go in to seperate folders? It makes development very time consuming. I have set the output directories of both a release and debug build to output the exe in to the same location and this puts some other files in with the exe such as a exp, lib, ilk, bsc files. It would be nice to be able to get these going in the debug/release folders instead of where my exe goes as well. any suggestions on what i need to change in my project and/or libraries to get this working? im using visual studio 2005

##### Share on other sites
Put the release and debug exes in different folders. You are just overwriting the release / debug version everytime you change the project settings causing the rebuild.

##### Share on other sites
Have both builds output to different folders, then add a post build operation which calls a batch file to copy your exe over to the appropriate folder, this way everything goes to individual directories and you wind up with the exe in the folder you want it to end up in.

##### Share on other sites
Set the following settings to exactly the same values in both, Release and Debug configuration.
-Configuration Properties\General\Output Directory = ...\bin\$(ConfigurationName) -Configuration Properties\General\Intermediate Directory = ...\int\$(ConfigurationName)
-Linker\General\Output File = $(OutDir)\..\$(ProjectName).exe

This would assume the following structure. You can adjust the actual paths to your liking.

+- bin+--- ProjectName.exe+--- Release+------ Bunch of stuff+- int+--- Release+------ Even more stuff

Don't change anything else though, you might need to reset the settings if you messed up the defaults too much, or hard-coded them.

1. 1
2. 2
Rutin
19
3. 3
4. 4
frob
14
5. 5

• 12
• 9
• 17
• 16
• 9
• ### Forum Statistics

• Total Topics
632596
• Total Posts
3007323

×

## Important Information

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!