WinForms Application Configuration Files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Partridge

    #1

    WinForms Application Configuration Files

    I have an app with both a webforms and winforms front end.
    When I change the web.config file, eventually IIS\ASP.NET
    pick up the changes and all is well.

    With the WinForms GUI - when I change the .config file, I
    need a way to force the AppDomain to reload the new config
    settings. This doesn't need to be automatic cause I can
    control when the config file is updated.

    Does anyone know how to force a reload of a new config
    file while a WinForms app is running? I don't want to
    force a restart the WinForms app everytime a change is
    made to the config file.

    TIA
Working...