我們正在運行CruiseControl.net的版本1.5.6755.1。下面是我們的塊執行構建Cruise Control.net女士Build Task設置XML輸出名稱
<!-- MSBuild of Source Code -->
<cb:define name="BuildOneProject-block">
<msbuild>
<executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable>
<!-- Directory where source is -->
<workingDirectory>D:\CC\$(AppName)\Source</workingDirectory>
<!-- Solution file to be built-->
<projectFile>D:\CC\$(AppName)\Source\$(ProjectName)\$(ProjectName).csproj</projectFile>
<buildArgs>/noconsolelogger /p:SolutionName=\$(AppName) /p:SolutionDir=D:\CC\$(AppName)\Source /p:Configuration=$(ReleaseOrDebug) /v:diag</buildArgs>
<targets>Build</targets>
<timeout>900</timeout>
<logger>C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
</msbuild>
</cb:define>
當這個來看,它產生一個名稱,如文件..
的MSBuild-成果5cb1c8fa-1bba-4e97-a0b1-b2bf637308dc.xml
MsBuild任務上是否有另外一個標籤可以讓我命名xml文件? Logger有沒有參數可以指定xml文件的名稱?