CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Arjay

Search: Search took 0.11 seconds.

  1. Re: Can I stop Visual Studio 2008 from overwriting my application configuration file?

    Yes, it simply isn't designed to work that way. During testing, if you need to change the settings, do it on the fly to the *.exe.config file before launching the app and running your tests. Or do...
  2. Re: Can I stop Visual Studio 2008 from overwriting my application configuration file?

    Ok. I believe there is a basic misunderstanding for what the app.config file is used for. It's for read-only settings that are read during program startup.

    If you need some other functionality...
  3. Re: Can I stop Visual Studio 2008 from overwriting my application configuration file?

    The simplest way is to change the app.config file located in the project's directory. If you make changes to this file, it will get copied over and renamed to myproject.exe.config.
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured