Winform Application Configuration Deleted by Application

Discussion in 'ASP .Net' started by lhak, Oct 24, 2004.

  1. lhak

    lhak Guest

    Hi all,

    I've written a small Winform application called 'myCustomTraceSwitch' that
    runs fine without using a configuration file. I created a configuration file
    (XML) to include trace switches and save it as
    'myCustomeTraceSwitch.exe.config'. I then put this configuration file in the
    \bin folder of the application.

    The problem is that everytime I debug 'myCustomTraceSwitch', the
    configuration file 'myCustomTraceSwitch.exe.config' gets deleted/overwritten
    by the EXE assembly that myCustomTraceSwitch generates i.e
    myCustomTraceSwitch.exe.config disappears from the \bin folder

    Does anyone know why this is and how to fix it?.

    Thanks in advance.

    LH
     
    lhak, Oct 24, 2004
    #1
    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. Lucas Tam
    Replies:
    3
    Views:
    4,025
    =?Utf-8?B?VGFtcGEgLk5FVCBLb2Rlcg==?=
    Nov 8, 2004
  2. ad
    Replies:
    6
    Views:
    9,735
    Patirck Ige
    Oct 10, 2005
  3. Hercules Dev.
    Replies:
    1
    Views:
    665
    Hercules Dev.
    Dec 12, 2005
  4. Benny Ng
    Replies:
    1
    Views:
    652
    Benny Ng
    Mar 30, 2006
  5. Chumley the Walrus
    Replies:
    2
    Views:
    256
    Tom Gosselin
    Aug 10, 2004
Loading...

Share This Page