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
Showing posts with label Deployment. Show all posts
Showing posts with label Deployment. Show all posts
Wednesday, October 31, 2018
Sunday, February 4, 2018
Adding files and folders to a click once installation
Having trouble in adding specific files to your click once installation ? Morover, you want them to be placed under a specific folder ?
Here are the steps I followed that finally did it:
Here are the steps I followed that finally did it:
- You need to create the folder/file structure just like you want it to exist in your installation - in your visual studio project. For example, I needed two folders - x86 and x64, and the same SQLite.Interop.dll under both
- Right click in your project, go to the Publish tab, then click in Application Files. Scroll down (they should be showing as the last items) to your added files, and make sure you change the Publish Status from Include (Auto) to Include.
Should work now.
Monday, November 9, 2015
Nuget packages that seamlessly merge all referenced assemblies into your executable
Today I just learned about 2 of them, used the 1st and it's awesome:
- Costura.Fody
- ILMerge
- ILRepack
Subscribe to:
Posts (Atom)