【发布时间】:2008-08-03 21:25:09
【问题描述】:
我目前正在尝试设置 CruiseControl.net。到目前为止,它运行良好,但我的 MSBuild 任务有问题。
根据Documentation,它将CCNetArtifactDirectory 传递给MSBuild。但是如何使用呢?
我试过了:
<buildArgs>
/noconsolelogger /p:OutputPath=$(CCNetArtifactDirectory)\test
</buildArgs>
但这不起作用。事实上,它会用这个错误杀死服务:
ThoughtWorks.CruiseControl.Core.Config.Preprocessor.EvaluationException:引用未知符号 CCNetArtifactDirectory
文档相当稀疏,google und 主要提供修改 .sln 项目文件,这是我想要避免的,以便以后能够手动构建这个项目 - 我真的更喜欢/p:OutputPath。
【问题讨论】: