Debug and Release mode

D

Do

Hi:

Is there somewhere in any config file where debug or release mode get
set when I change the mode before rebuilding in VS.net?

Thanks,

Do
 
H

Hermit Dave

<configuration>

<system.web>

<!-- DYNAMIC DEBUG COMPILATION

Set compilation debug="true" to enable ASPX debugging. Otherwise, setting
this value to

false will improve runtime performance of this application.

Set compilation debug="true" to insert debugging symbols (.pdb information)

into the compiled page. Because this creates a larger file that executes

more slowly, you should set this value to true only when debugging and to

false at all other times. For more information, refer to the documentation
about

debugging ASP.NET files.

-->

<compilation

defaultLanguage="c#"

debug="true"

/>

Dont know whether it compliments the VS.NET's Build >> Configuration Manager

Regards,

HD
 
H

Hermit Dave

Thats in web.config file

HD

Hermit Dave said:
<configuration>

<system.web>

<!-- DYNAMIC DEBUG COMPILATION

Set compilation debug="true" to enable ASPX debugging. Otherwise, setting
this value to

false will improve runtime performance of this application.

Set compilation debug="true" to insert debugging symbols (.pdb information)

into the compiled page. Because this creates a larger file that executes

more slowly, you should set this value to true only when debugging and to

false at all other times. For more information, refer to the documentation
about

debugging ASP.NET files.

-->

<compilation

defaultLanguage="c#"

debug="true"

/>

Dont know whether it compliments the VS.NET's Build >> Configuration Manager

Regards,

HD
 
R

Rick Strahl [MVP]

No you need to manually check this.

Debug mode in web.config deals with compilation of the ASPX pages themselves
as opposed to the source files you create. It's for the runtime JIT
compilation that occurs when a page is loaded for the first time.

For deployment you definitely want to turn this option to false in
web.config.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/blog/
 
D

Do

Hi,

That's exactly what I'm getting at. What value does that Configuration
Manager setting change?
Is there a value somewhere in the web.config file that specifies whether the
app is in debug or
release?

Or is this something that cannot be accessed?

Thanks,

Do
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top