Configuration Manager In C# Express

How to change Configuration Manager in C# Express 2005. I try to open Configuration Manager dialog box but Configuration Manager menu is disable. i try with this step: 1. Select Solution in Solution Explorer. 2. Choose menu Build - Connfiguration Manager
am i miss something?

thanks.

best regards,
OktaEndy

[318 byte] By [OktaEndy] at [2008-2-3]
# 1
There is no configuration manager in the express editions. It just has the basic settings and when you debug it builds the debug configuration, and when you build it builds the release version of the application. I have compared my express edition and my visual studio pro edition and I can not find the config manager or the functions inside the express product.
GlennWilson at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 2

How to set configuration to Debug or Release? I can't find that config.
if i try to add #if in the code it always show that my code always compile in debug configuration.

OktaEndy at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 3
If you run the debug, "Play" button on toolbar or from menu it compiles to debug. If you build the application from menus it compiles to release.
GlennWilson at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 4
1. Go to Tools | Options...
2. Select the "Projects and Solutions" node in the tree.
3. Check the "Show advanced build configurations" checkbox.
The Configuration Manager should now be enabled.
WN at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 5
Thanks.. It's work..!!

Best Regards,
Okta Endy

OktaEndy at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 6
I go to Tools | Options but there is no "Projects and Solutions" node

in the tree. I see some posts that say it is not possible to select

build configurations with the Express editions. Am I missing a step or

is it not possible?

Mark

SharpCarp at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 7
You probably have to check the "Show all settings" box in the Options-window's lower left corner.
TCK at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 8

This current "most helpful" response to this question states that the config manager does not exist in express -- that is not correct.

The configuration manager DOES exist in Visual C# 2005. The reason why it’s difficult to find is that it's hidden/disabled by the unusual default settings. The same is likely true for the VB.net version

I followed the directions posted by WN and can now use the configuration manager to successfully compile release builds.

The instructions WN provided are:
1. Go to Tools | Options...
2. Select the "Projects and Solutions" node in the tree.
3. Check the "Show advanced build configurations" checkbox

Note: If the above doesn't make sense there's an additional step you need to take between #'s 2 and three:

Make sure that the "Show All Settings" check box is checked in the options form (below the box that displays the tree view). By default the top level nodes visible in the tree view are: Environment, Text Editor and Debugging. Once you check the "Show All Settings" box you will see the Project and Solutions node as well as Database Tools and Windows Form Designer).

ChrisMo at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 9

All the Steps Worked, The Configuration Manager only available in the Debug Menu

But, I want to Play with it programatically to edit/Add the Keys in App.config. But No Configruation Manager in the Intellisense and is not supported too.

I Have Included the System.Configuration Namespace
using System.Configuration;

AlaguThirunavirkarasu at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 10

Sorry,

Its my mistake. I never added the reference System.Configuration in the solution Explorer. Now it is Working Fine

AlaguThirunavirkarasu at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 11

I tried same but does not work

using System.Configuration;

String conStr= ConfigurationManager.ConnectionStrings["DDConnectString"].ToString();

but i get this error

Error 6 The name 'ConfigurationManager' does not exist in the current context \\Server\DServer\Tx\DBUtils.cs 19 27 DQServer

Any help appriciated.

Thanks

sendi at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 12

You need to reference the System.Configuration (version 2.0) library in your Solution References.

GreyGallon at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...