Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between compilation debug="false" and Release mode?

In ASP.NET, what's the difference between building a project with in the Web.config and with Release mode in the Configuration Manager?

When would you use one and not the other?

like image 277
Even Mien Avatar asked Jun 02 '09 13:06

Even Mien


2 Answers

Here's the best explanation that I found:

http://odetocode.com/blogs/scott/archive/2005/11/15/debug-and-release-builds-in-asp-net-2-0.aspx

like image 127
Even Mien Avatar answered Sep 24 '22 18:09

Even Mien


ScottGu did a pretty good right up of the differences here on his blog.

I typically use this mode when I need to do debugging inside of Visual Studio or if I'm trying to track down a particularly nasty bug. So I usually run with debug mode to set to false.

like image 34
Jeff Avatar answered Sep 22 '22 18:09

Jeff