views:

1560

answers:

5

I cant find it, I have looked in the project properties but it seems to be missing, does anyone knows what I'm missing here?

+1  A: 

I'm sure there's some obscure way that I don't remember... what I do know is that if you click "Build" it will build the Release version, but if you click "Start Debugging" it will build the Debug version. So if you just want to be able to get the output from both versions, that should sort it for you.

Jon Skeet
+9  A: 

Heh, that one baffled me too when I first installed Visual C# 2010 Express. Turns out Microsoft has added a "Basic settings" mode to the Express editions that is selected by default.

You can change to "Expert settings" mode in the Tools menu, after that, the Debug/Release combo will be back.

alt text

Most IDE settings (window docking locations, font settings, etc.) seem to be kept in separate profiles between basic and expert mode, so you'll have to arrange your tool windows again and so on.

Cygon
A completely unrelated question @Cygon: I'm curious how that screenshot was taken. It looks very clean and tidy! Is there a special utility for that sort of screen capturing?
stakx
Cygon
+12  A: 

I know this question is over a month old, but I recently started using VC# 2010 Express, taking a look at the new features of .NET 4.0, C#, WPF, etc., and faced this same issue. And since this question doesn't have an answer to what's actually asked:

It's adjustable by settings, it's not a removed feature in the express editions, it's just something that isn't ordinarily disabled and we're therefore reluctant to look in obvious places. First, enable "Expert Settings" as detailed in a previous answer, and then from the VS menu navigate through Tools -> Options... -> now in the settings dialog box, check "Show All Settings." Then, via the treeview on the left, make your way to "Projects and Solutions" -> General -> finally, check "Show advanced build configurations" and click "Okay."

Perhaps it was an oversight that build configuration is left disabled while in "Expert" mode.

Siege
Awesome, thanks. Had me stumped for 15 minutes :)
Johan
I've been looking for that too. The weird thing is that all this time I didn't know how to change the configuration but apparently the program was building both every time. Then I installed Windows 7 and when reopened my project I couldn't get to build the release version. Until the active configuration miraculously changed to Release for mysterious reasons. Then I couldn't put it back on debug until I found this thread. Does anyone know how come my VC# was building both configurations and how to make it do that again? It was quite handy.
jsoldi
A: 

This caught me out big time.

DrLazer
A: 

Yeah. I spent almost half an hour trying to figure out how to change the active configuration.

I cannot imagine why Microsoft added the stupid "basic settings". If you even cannot switch to release, what's the point for "basic settings"? It's totally useless and confusing for real users.

A stupid company.

tony