Atlanta .NET Regular Guys

Community Blog for two guys in Atlanta that focus on Microsoft and Community.

Quick About

This is the community blog for Brendon Schwartz and Matt Ranlett.  If you want to see their technical posts visit http://www.sharepointguys.com

Back To DevCow

Recent Posts

Tags

Email Notifications

    Archives

    Visual Studio 2005 Build Configurations

    This was frustrating me for a bit until I found the answer, so I thought I'd put it online to help save others the same headache.

    I've got a project I'm working on here at work that one other developer is working on with me.  For some reason, on my machine, I was unable to change the build version from Release to Debug.  The other developer had no such problem.  I tried everything I could think of - downloading the source from VSS again, even wiping out the entire directory on disk to be sure I didn't have some bizarre setting.  No clue what was wrong.  I did not have this problem in any other project, just this one.  When I pulled down the Build menu in VS2005, the Configuration Manager was greyed out.  When I modified the Build toolbar to include the Solution Configurations and Solution Platforms dropdowns, those were greyed out as well. Very annoying!

    Turns out that there is an option in the Visual Studio options that was getting me.  I have no idea why this was only a problem on a single solution and not with any other solution and not on anyone else’s machine, but this did solve my problem.  I didn’t realize that building Release vs. Debug was an advanced build configuration, but checking this “Show advanced build configurations” enabled me to chose between Release and Debug builds.

    VSBuildOptions

    Comments

    Chris said:

    Fantastic. I thought I was going mad wondering why I couldn't change the build configurations until I came across this.
    # August 23, 2006 8:29 PM

    Mr Mad said:

    Thank you Thank you Thank you
    # September 26, 2006 9:41 AM

    Mark said:

    Thank you for posting this.
    # August 7, 2007 12:45 PM

    Tom said:

    Thanks Matt.  Yes you did save someone else a headache!
    # August 29, 2007 12:23 PM