Application Settings don't load...

I had my settings file working fine so i could change the user scope settings in it , and when I added in a few new settings, all are strings, and changed one of the old ones but it no longer loads correctly, for the one I changed it uses the old value and only some of the new settings have a value even though in both MyProject.exe.config and MyProject.vshost.exe.config, all the information is correct...
any suggestions





Answer this question

Application Settings don't load...

  • Steve - B3

    jankowiak:
    Have you tried setting the "Copy To Output" option under the properties of your App.config file to "Copy Always"

  • Ajay Pathak

    Try the Synchronize button in the settings designer.

    Best regards,
    Johan Stenberg



  • MmeBovary

    Hi

    Please post ur Configration File settings changed



  • Javier Martinez

    the only thing I changed was dbHost from '127.0.0.1' to 'localhost' but it stays as '127.0.0.1' in the program even though I cleaned the build, I use a custom class to handle all my connections to the db so I can have a better control over the the data...
    also I added a few other strings to the file dbUser, dbPass, dbFile, the only new item shown is dbFile....

  • Application Settings don't load...