Regenerate Settings.settings
I just had to do a similar thing.
What worked for me is this:
- Add a settings file using 'Add....' Name it Settings.settings
- Move the settings file to the Properties directory. (Just grab and move it.)
- Now since that's an empty settings file, copy the older settings file (the one you want to move) to the same area, overwriting the one that was just created.
- Run the custom tool to recreate Settings.Designer.cs
My problem was that I got stuck on trying to copy both the Settings.settings file and the Settings.Designer.cs. That was a no-go.
You can delete the .Designer.cs file then exclude the .settings file from the project and include it again. Then the .designer file is regenerated.
In between, make sure to click on the Show all files button, otherwise you cannot see the file you have just excluded from your project.