Difference between <Compilation debug="true/false"> and Release/Debug modehttp://forums.asp.net/t/1532424.aspx/1?Difference+between+Compilation+debug+true+false+and+Release+Debug+modeThu, 04 Mar 2010 17:27:33 -050015324243713175http://forums.asp.net/p/1532424/3713175.aspx/1?Difference+between+Compilation+debug+true+false+and+Release+Debug+modeDifference between <Compilation debug="true/false"> and Release/Debug mode <p>Hi,</p> <p>As far as i know when we deploy an asp.net project we have to deploy in release mode and make compilation debug=&quot;false&quot; in the Web.Config.</p> <p>What is the difference between the two?<br> </p> 2010-03-04T09:28:26-05:003713621http://forums.asp.net/p/1532424/3713621.aspx/1?Re+Difference+between+Compilation+debug+true+false+and+Release+Debug+modeRe: Difference between <Compilation debug="true/false"> and Release/Debug mode <p>True sets debug mode, false doesn't.&nbsp; :)</p> <p>The practical difference is running in debug mode consumes resources you don't need unless you are truly debugging the code.&nbsp; Sort of like driving in first gear beacause you need the torque to get&nbsp;your boat trailer up the hill, and not driving in first when you're on the flat interstate and not towing anything.&nbsp;</p> <p>Jeff</p> 2010-03-04T13:56:02-05:003713710http://forums.asp.net/p/1532424/3713710.aspx/1?Re+Difference+between+Compilation+debug+true+false+and+Release+Debug+modeRe: Difference between <Compilation debug="true/false"> and Release/Debug mode <p>So to convert to Release mode from debug mode should i make debug=&quot;false&quot; in Web.Config or should i use the configuration that i get by clicking property of the solution file.<br> </p> 2010-03-04T14:46:04-05:003713927http://forums.asp.net/p/1532424/3713927.aspx/1?Re+Difference+between+Compilation+debug+true+false+and+Release+Debug+modeRe: Difference between <Compilation debug="true/false"> and Release/Debug mode <p>I think you need to change it in the web.config.</p> <p>Also see http://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx</p> <p><br> </p> 2010-03-04T17:27:33-05:00