Using same Debug settings for Start External Program across 32 bit and 64 bit debug environments

Posted by Michael Prewecki on Stack Overflow See other posts from Stack Overflow or by Michael Prewecki
Published on 2009-01-08T14:11:49Z Indexed on 2010/04/19 4:13 UTC
Read the original article Hit count: 237

We use a mixture of 32-bit and 64-bit development environments. Some of our class libraries are debugged using a 32-bit application so we have debug settings for "Start External Program" and "Working Directory". The problem is that the settings need to be different since the 32-bit application is installed to

C:\Program Files\xxx (on the 32-bit dev enviroment) or C:\Program Files (x86)\xxx (on the 64-bit dev environment)

Is there a way to use some sort of tag like %PROGRAMFILES% or $(ProgramFiles) so that Visual Studio 2008 will know where to look for the external program?

This wouldn't be a major issue except the solution file (where the debug information is saved) is checked into source control...so getting the latest version of the solution from our source repository keeps yoyo'ing the debug settings between the two program files locations.

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about debugging