msbuild/clickonce publish files generated during the build
- by Anonym
As a part of my build process I generate some files that should be included when creating a clickonce deployment.
Here is a blog post of someone telling you how to include items that's not part of the project. However, as someone mentions in the comments of that blogpost, it won't update the deploymentmanifest when you do it in the "BeforePublish" task and the files won't get downloaded - it works fine if you do it in the "BeforeBuild" task though.
This gives me a chicken and egg problem as I have to perform the build first to generate the files I want included..
Does anyone have a solution for this ?
(p.s. at the moment generating the clickonce deployment using mage.exe is not an option, it have to be done using the Publish target)