Changing Clickonce source folder
Posted
by henginy
on Stack Overflow
See other posts from Stack Overflow
or by henginy
Published on 2010-05-25T15:57:56Z
Indexed on
2010/05/25
16:01 UTC
Read the original article
Hit count: 223
We copy our production build in a separate folder using post-build events, and replace the app.config
file with our production app.config. However Clickonce reads the files in bin\Release folder.
I have also tried copying all files from our custom build location to bin\Release
folder in the post-build event, but app.config is still overridden (I guess clickonce re-builds the project into bin\Release).
Is it possible to tell Clickonce to read from our custom folder? Or, if that's not the right way to go, how do you handle this kind of situation?
© Stack Overflow or respective owner