Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot build my class library on Release, only on Debug

I've right clicked the project in Visual Studio and selected properties. Then I changed the Build configuration to Release. But even after hitting Control+Shift+B to build my library, I still find the /Release/ folder empty.

enter image description here

If I close the properties window and re open it, I see the option has switched back to Active(debug)

What am I missing?

like image 305
Only Bolivian Here Avatar asked Sep 07 '11 19:09

Only Bolivian Here


1 Answers

You haven't actually changed to make the Release configuration active - you've just gone to the properties for the Release configuration.

The "active configuration" is normally in a toolbar just under the main menu - look for "Debug" there and change it to "Release" like this:

enter image description here

Or go to "Build > Configuration Manager" and change the active release there.

enter image description here

like image 180
Jon Skeet Avatar answered Oct 01 '22 23:10

Jon Skeet