开发者

How can I build in release in Visual Studio 2010 (C# Express)?

开发者 https://www.devze.com 2022-12-26 20:17 出处:网络
I\'m used to VS2008, in which a release build would be built upon pressing F6, or in the开发者_如何学运维 menu Build > Build Solution.

I'm used to VS2008, in which a release build would be built upon pressing F6, or in the开发者_如何学运维 menu Build > Build Solution.

The build menu is gone, and although I can build the solution (through F6), it only builds the debug.

I assume there is some kind of configuration manager now, but I can't find it anywhere.


If you have no Build Menu in Visual Studio 2010 Express, go to the menu Tools -> Settings -> select 'Expert Settings'


Right-click solution > Configuration manager. Sorry for not looking more before asking.


Also see this thread: How to switch between debug/release in Visual c# 2010 express


Microsoft Visual C# 2010 express:

I hope you are facing a problem to get the build for release(.exe).

I hope the following steps will help you.Anyway i faced such a problem and solved by this.good luck.

Build > configuration manager > set active solution configuration to Release


Here's an answer to the same question that has not been propagated here yet: https://stackoverflow.com/a/3127008/78162 Namely, you also need to go to Tools->Options->Projects and Solutions and turn on "Show advanced build configurations."

0

精彩评论

暂无评论...
验证码 换一张
取 消