I have the question about Properties.Settings.Default generation. By default there are only defaultInstance is generating in Settings.Designer.cs . How to add Properties.Settings.Default.WindowState and for example Properties.Settings.Default.WindowWidth; in this auto-generated Settings.Designer.cs ?
- UPDATE
-the problem was solved by the addition of AppConfig where all needed properties described.
-Settings.settings modification (perhaps this file is generated automatically) thanks to Monty
Have a look at the Properties folder in your solution project. In that folder you will find the Settings.settings file. Doubleclick it and it will show a designer in which you can add additional settings. These added settings are then persisted to the designer file, so you can call them from code.
Good luck.