msbuild/clickonce publish files generated during the build

后端 未结 4 687
不知归路
不知归路 2021-02-10 22:52

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 incl

4条回答
  •  遥遥无期
    2021-02-10 23:24

    You can do something like this:

    
        
          Reports\Reports.srf
          false
        
    
    

    This will require that you run the build and publish in 2 steps. That is, from a clean working copy, msbuild /p:Configuration=Release /t:Publish will not include this file in the deployment, you'll have to first run msbuild /p:Configuration=Release and then msbuild /p:Configuration=Release /t:Publish , the manifest will get updated during the Publish.

提交回复
热议问题