CruiseControl.Net错误:<msbuild> </msbuild>的未知插件

时间:2010-06-22 10:12:56

标签: msbuild cruisecontrol.net

我正在努力让CruiseControl.Net与MSBuild合作(这是我第一次接触CruiseControl.Net)。我以为我已经正确完成了配置,但是我在启动时收到以下错误消息:

[cc]Jun-22 20:02:55 Main          - error setting config file on controller
net.sourceforge.cruisecontrol.CruiseControlException: error configuring project MyProject
        at *SNIP*
Caused by: net.sourceforge.cruisecontrol.CruiseControlException: Unknown plugin for: <msbuild>
        at *SNIP*
[cc]Jun-22 20:02:55 Main          - error configuring project MyProject

据我所知,这似乎表明我错过了MSBuild插件,但是我能找到的所有文档都表明MSBuild插件已经包含在CruiseControl.Net中,因为版本1.0

  • 我正在使用最新的二进制版本(v 2.8.3)
  • 这是我的配置xml:

    <project name="MyProject">
      <listeners>
        <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
      </listeners>
      <bootstrappers></bootstrappers>
      <modificationset quietperiod="10">
        <filesystem folder="C:\snip\main"/>
      </modificationset>
      <schedule interval="60">
        <msbuild>
          <executable>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe</executable>
          <workingDirectory>C:\snip\main</workingDirectory>
          <projectFile>MyProject.sln</projectFile>
          <buildArgs>/p:Configuration=Debug /v:diag</buildArgs>
          <targets>Build;Test</targets>
          <timeout>900</timeout>
          <logger>C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
        </msbuild>
      </schedule>
      <log />
      <publishers />
    </project>
    

关于如何解决这个问题的任何建议都会非常感激。

1 个答案:

答案 0 :(得分:1)

Aggg - 我似乎无意中下载了CruiseControl,而不是CruiseControl.Net(并且让我更加困惑的是,我正在查看CruiseControl.Net文档)