switching between release and debug version

  • Thread starter Thread starter Stefan Landgraf
  • Start date Start date
S

Stefan Landgraf

Hi,

is there a way to switch between release and debug version at
runtime (e.g. with web.config settings) in an ASP.NET project?

Thanks for any hint!

Stefan
 
Stefan,

You cannot switch between release and debug version at runtime.
If you are looking to catch the errors or performance you can use the
tracelisteners and tracing.

Freddy
 
You can use debug="true" in the compilation model of web.config, but
this only impacts the compilation of the ASPX pages. The code-behind
files will have already been compiled into a DLL in the bin directory.
 

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

Back
Top