msbuild/clickonce publish files generated during the build

Posted by Anonym on Stack Overflow See other posts from Stack Overflow or by Anonym
Published on 2010-03-24T14:11:39Z Indexed on 2010/03/24 14:53 UTC
Read the original article Hit count: 265

Filed under:
|
|

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)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about msbuild