问题
I'm using Visual Studio 2017, and I have a boat load of settings I'm adding. It's kind of a pain in the neck to add them by this Settings.settings table in VS. Is there a better way?
回答1:
If you have the option of not using the default settings application behavior, or if you can use another bahavior in addition to it, perhaps it may help you:
How to create a hand-made application settings file
In this case, this may help you too:
How to initialize user app data and document path
So you can for example put this settings file in the user app data folder or anywhere you want.
来源:https://stackoverflow.com/questions/58523570/how-do-i-setup-the-application-settings-by-code