开发者

Aspnet_Compiler to publish all dlls other than modified

开发者 https://www.devze.com 2023-04-08 08:55 出处:网络
In our continuous integration process we are using Aspnet compiler to publish the source. But while doing, it only publishes the modified dlls.

In our continuous integration process we are using Aspnet compiler to publish the source. But while doing, it only publishes the modified dlls.

Our task is like

<AspNetCompiler
              VirtualPath = "DeployTemp" 
              PhysicalPath = "Physical path"
              TargetPath = "Target path"
              Force = "true"
              Debug = "false"
              Updateable = "true"/>

Wha开发者_如何学Got we want is to publish the whole dlls not the modified ones. ie we want a rebuild of the whole solution.

When we searched we found an option -c in aspnet_compiler for this. But we don't know how to apply it here. Please give your suggestions.


Use Clean option - its equivalent of -c command line option. For example:

<AspNetCompiler
              VirtualPath = "DeployTemp" 
              PhysicalPath = "Physical path"
              TargetPath = "Target path"
              Clean="true"
              Force = "true"
              Debug = "false"
              Updateable = "true"/>

For more information, see the documentation for the AspNetCompiler task.

0

精彩评论

暂无评论...
验证码 换一张
取 消