Sign in to follow this  
Thevenin

How do I compile C# in "Release" mode?

Recommended Posts

Although it may sound funny, I can't find the "Active Build" configuration anywhere. Yet there is a 'debug' and 'release' folder in my project directory... How do I compile a VS8 C# project in release mode? [rolleyes]

Share this post


Link to post
Share on other sites
You can either use the drop down next to the Debug | Start toolbar button (the play arrow) to set the active configuration from Debug to Release or you can go to the properties of the solution (right click the solution and select properties) and under the configuration properties portion of the tree on the left hand side you can click on that to display the configuration pange. From here you can set the active configuration through a drop down.

Magius

Share this post


Link to post
Share on other sites
The play arrow field is grayed out, I cannot change it.

The solutions page has no configuration for setting the active build.

Perhaps I have to click the "Register" thing, I'll do that right now and see if it makes a different.

Share this post


Link to post
Share on other sites
Quote:
Original post by SiCrane
Are you using the express edition?


Yes.

btw.. registering it didn't unlock the 'Configuration Manager'. =(

Share this post


Link to post
Share on other sites
Sorry about that, I assumed the full version. Does the properties dialog (generally below the solution explorer) show the Active config entry when you click on the solution?

Magius

Share this post


Link to post
Share on other sites
Quote:
Original post by Magius
Sorry about that, I assumed the full version. Does the properties dialog (generally below the solution explorer) show the Active config entry when you click on the solution?

Magius


No, it doesnt. =/

Share this post


Link to post
Share on other sites
I don't have the express edition, so it's tough to say, but the documentation here says that the Build property page of the project properties should have what you are looking for.

Magius

Share this post


Link to post
Share on other sites
Quote:
Original post by Magius
I don't have the express edition, so it's tough to say, but the documentation here says that the Build property page of the project properties should have what you are looking for.

Magius


There is no mention of "release" mode in that link. Inaddition, I've throughly checked out the region its referring to. =/

Share this post


Link to post
Share on other sites
You have to enable it.

1. Go Tools-> Options.
2. Push the Show all Settings checkbox in lower left corner.
3. Select Projects & Solutions.
4. Make sure "Show advanced Build Configurations" is checked.

And thats it, for me at least in C# Express.

I hope it helps

Share this post


Link to post
Share on other sites
Quote:
Original post by Sko44
You have to enable it.

1. Go Tools-> Options.
2. Push the Show all Settings checkbox in lower left corner.
3. Select Projects & Solutions.
4. Make sure "Show advanced Build Configurations" is checked.

And thats it, for me at least in C# Express.

I hope it helps


Thanks! That did it. [grin]
ratings++;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this