Jump to content
  • Advertisement
Sign in to follow this  
Thevenin

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

This topic is 4641 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!