Weird behaviour of the app.config deployment after updating it.
Posted
by Dabblernl
on Stack Overflow
See other posts from Stack Overflow
or by Dabblernl
Published on 2010-03-20T22:41:55Z
Indexed on
2010/03/20
22:51 UTC
Read the original article
Hit count: 493
I moved some hardcoded settings to a custom Section (so I did not use the <appSetting
> tag) in the app.config of my ClickOnce application. When updating, the clients got an error stating that the server gave a 404 not found error for the file "myapp.exe.config.deploy". Browsing on the server I did find the changed app.config there, only it was named app.config.deploy.
Thinking to be smart I renamed the app.config to myapp.exe.config on the development machine and published again. That did not work... However after naming the file back to app.config and publishing the error went away and the clients used the setting happily!
Please explain what went wrong?
© Stack Overflow or respective owner