Aspnet_Compiler 发布除修改之外的所有 dll
在我们的持续集成过程中,我们使用 Aspnet 编译器来发布源代码。但这样做时,它只发布修改后的 dll。
我们的任务就像
<AspNetCompiler
VirtualPath = "DeployTemp"
PhysicalPath = "Physical path"
TargetPath = "Target path"
Force = "true"
Debug = "false"
Updateable = "true"/>
我们想要的是发布整个 dll,而不是修改后的 dll。即我们想要重建 整个解决方案。
当我们搜索时,我们在 aspnet_compiler 中找到了一个选项 -c 来实现此目的。但我们不知道如何在这里应用它。请提出您的建议。
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"/>
What 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用Clean选项 - 相当于
-c
命令行选项。例如:有关详细信息,请参阅AspNetCompiler 任务的文档。
Use Clean option - its equivalent of
-c
command line option. For example:For more information, see the documentation for the AspNetCompiler task.