I've written a simple Hello Word program to test the use of settings. I set up a simple setting and tried to save it but got an error message (see screenshot). I've looked at the app.config file and the relevant section says
<userSettings> <Hello2.My.MySettings> <setting name="Test" serializeAs="String"> <value /> </setting> </Hello2.My.MySettings> </userSettings>
This seems to have two problems:
The setting name is wrong (should be 'TextSet')
There's no value (probably as a result of the error).
I'm using VS 2019 version 16.11.15 on Windows 10 Home. The project was built using the Windows Forms App template.
I'm obviously doing something fairly elementary wrong here, but can't work out what. Surely something as simple of this should just work out of the box.