I've created a console app (VS2015, target framework 4.5.2) and I have used My Project/Settings
to create application level settings. All the documentation and answers here on stackoverflow.com tell me (and this is the way I've always understood it to work) that the app.config
file are where these things are stored and I can indeed see these settings in app.config and I can open settings.vb
to look at the properties and their default values.
So far so good, when I compiled this and chucked ONLY the executable on a different machine, as expected it worked. I am assuming this is because settings.vb
is compiled into the app.
But I am left with an application for which I can't change the settings. Where do I now put the app.config
so that I can indeed change the settings in the XML and have my application use those settings instead of the default ones next time? I hope I don't have to build an installer or do a publish because to me that completely defeats the purpose of console applications.