I am working on a VB WinForms app in VS 2010. I have one setting in my settings.settings file, a DB connection string. I am trying to correct an error in my setting, but each time I make a correction, VS creates a 2nd Settings.Designer.vb file (Settings1.Designer.vb), instead of saving to Settings.Designer.vb.
I have Settings.Designer.vb checked out from TFS, and I have checked the file to make sure it is writeable. I have deleted both the Settings.Designer.vb and Settings1.Designer.vb files, then saved my settings again. This should have created a new Settings.Designer.vb file, and it does, but it doesn't save the correct settings. Also, I have removed any references to "Settings1.Designer.vb" from my vbproj file.
Has anyone seen this hokey behavior? Have you got any ideas?
Figured it out. Since the connection string I had in my settings is an application-level setting, it was copied to app.config. To fix the issue, I had to: