locked
Windows Service Configuration File Overwritten Upon Compile RRS feed

  • Question

  • In a windows service application written in C# /.Net 3.5 / VS 2008, I find that the configuration file is recreated each time I compile. (myapp.exe.config).

    Thus any application parameters I defined in the config file are lost each time the app is compiled.

    Is there a way to get around a new config being generated each time?

    Thanks in advance.

    • Moved by Andrew_Zhu Wednesday, January 12, 2011 2:24 AM (From:.NET 3.0/3.5 Windows Workflow Foundation)
    Sunday, January 9, 2011 9:10 PM

Answers