PartCover生成空的输出文件

| 我目前正在尝试为TeamCity设置创建一个Nant任务,以便我们的UnitTests通过Gallio运行,并被PartCover覆盖。任务如下所示:
<!-- UnitTest Configuration -->
  <!-- ====================== -->
  <!-- This configuration runs the tests through Gallio with MbUnit together with
       PartCover to get the results of the test together with the coverage results 
  -->
  <target name=\"unitTest\">      
        <echo message=\"Unittesting ${AssemblyToTest}\"/>
        <exec program=\"${Paths.Tools}\\PartCover\\Partcover.exe\" failonerror=\"true\">
          <arg line=\"--target &quot;${Paths.Tools}\\Gallio\\Gallio.Echo.exe&quot;\" />
          <arg line=\"--target-work-dir ${AssemblyToTestLocation}\"/>
          <arg line=\"--target-args /r:Local &quot;${AssemblyToTest}&quot;\" />
          <arg line=\"--include &quot;[${Tests.TestedAssemblyName}]*&quot;\" />
          <arg line=\"--output ${Paths.Output}\\Coverage.xml\" />
        </exec>
  </target>
测试正在运行,我们可以在TeamCity中看到此内容,并生成Coverage.xml文件,但为空。里面只有一行。 变量输出: $ {Paths.Tools}:C:\\ Robinson \\ Trunk \\ $ {Tests.TestedAssemblyName}:DLL的名称 $ {AssemblyToTestLocation}:DLL的路径 我想念什么吗? 编辑 TeamCity应用程序正在Windows Server 2003 R2 Server上运行,并且执行该工作的所有构建代理当前都在Windows XP Systems(所有32位安装)上运行。     
已邀请:
        我相信我们在https://github.com/sawilde/partcover.net4/issues/46中涵盖了此问题 解决方案是按照 --include [$ {Tests.TestedAssemblyName} *] *吗?     

要回复问题请先登录注册