switching between release and debug version

Discussion in 'ASP .Net' started by Stefan Landgraf, Oct 1, 2004.

  1. 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 Landgraf, Oct 1, 2004
    #1
    1. Advertising

  2. Stefan Landgraf

    Freddy Guest

    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


    "Stefan Landgraf" <stefan_landgraf@gmx[nospam].de> wrote in message
    news:415d297e$...
    > 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
    >
    >
     
    Freddy, Oct 1, 2004
    #2
    1. Advertising

  3. Stefan Landgraf

    Scott Allen Guest

    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.

    --
    Scott
    http://www.OdeToCode.com/

    On Fri, 01 Oct 2004 09:55:23 GMT, "Stefan Landgraf"
    <stefan_landgraf@gmx[nospam].de> wrote:

    >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
    >
     
    Scott Allen, Oct 1, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. croeltgen
    Replies:
    1
    Views:
    505
    Andrew Thompson
    Oct 25, 2004
  2. Replies:
    3
    Views:
    313
    Ivan Vecerina
    Nov 7, 2006
  3. V Green
    Replies:
    0
    Views:
    863
    V Green
    Feb 5, 2008
  4. PA Bear [MS MVP]
    Replies:
    0
    Views:
    973
    PA Bear [MS MVP]
    Feb 5, 2008
  5. Hans Stoessel
    Replies:
    4
    Views:
    868
    Hans Stoessel
    Apr 22, 2010
Loading...

Share This Page