I was getting mad while debugging my app - I could not find where a specific app.config appSetting key's value was coming from. I checked the machine config file to no avail.
I then simply followed exactly MSDN instructions regarding app.config file creation, and now the app setting key value is correct. Seems this is the way correct way to ensure you know exactly what your deployed config file will look like.
Don't forget to set the file's Build Action (Properties window) to Content. If you leave it as None, it will not be deployed.
Keeping track of interesting places I put my feet on in the software development world.
Search This Blog
Wednesday, October 31, 2018
Monday, October 29, 2018
Useful debugging tips for Visual Studio
https://blogs.msdn.microsoft.com/visualstudio/2017/09/18/7-more-lesser-known-debugging-tactics-for-visual-studio/
Thursday, October 11, 2018
Subscribe to:
Posts (Atom)