How to save the configuration properties

I setup the configuration properties for my solution.

But each time, i restart my solution, I found the setup lost and I should setup again.

Any idea about it thanks a lot.




Answer this question

How to save the configuration properties

  • Master T

    What file are you modifying You should be modifying the app.config in your root project directory, not the assemblyname.config in the debug or release directories. app.config is copied into your debug or release directory whenever you run the application from Visual Studio 2005.

  • ComicSansMS

     Peter Ritchie wrote:
    What file are you modifying   You should be modifying the app.config in your root project directory, not the assemblyname.config in the debug or release directories.  app.config is copied into your debug or release directory whenever you run the application from Visual Studio 2005.

    Thank you so much for your advice

    Further question:

    Then to configure a solution, we must do it each time.

    For example, I add libA.lib into Solution1. Each time I open Solution1, I should add libA.lib again. Am I right

     



  • How to save the configuration properties