开发者

Visual Studio publish in debug Vs Release mode

I know the difference between debug and release mode BUILD. But I have a small doubt, does it make any difference开发者_高级运维 on what mode I select while publishing the application thru Visual studio?


If you publish using Debug mode, your generated files have debugging enabled and that will impact the performance.

It is always recommended that you publish website in Release Mode

Please read this Don’t run production ASP.NET Applications with debug=”true” enabled


Refered to How to: Set Debug and Release Configurations

The Debug configuration of your program is compiled with full symbolic debug information and no optimization. Optimization complicates debugging, because the relationship between source code and generated instructions is more complex.

The Release configuration of your program contains no symbolic debug information and is fully optimized. Debug information can be generated in Program Database Files (C++), depending on the compiler options that are used. Creating PDB files can be very useful if you later have to debug your release version.

Take a look at Visual Studio - Debug vs Release

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜