以下の内容はhttps://odashinsuke.hatenablog.com/entry/20120530/1338378635より取得しました。


OpenCover で結果が取れない か nunit-agent がハングする

OpenCover/NUnit のバージョンは、現時点(2012/05/30) で NuGet からインストール出来る最新版です。
OpenCover:4.0.301
NUnit:2.6.0.12054
NUnit.Runners:2.6.0.12051
OpenCover + NUnit の組み合わせで nunit-agent.exe が終わらない or

No results - no assemblies that matched the supplied filter were instrumented
    this could be due to missing PDBs for the assemblies that match the filter
    please review the output file and refer to the Usage guide (Usage.rtf)

本家 Issus に挙がってるのと同じ症状ですかねー。。
NUnit + OpenCover Hangs with /noshadow · Issue #94 · sawilde/opencover · GitHub
OpenCover や NUnit のパラメータは若干違うんですが、環境によって起きたり起きなかったり。。*1

  • Windows7 x64:起きない
    • Jenkins の job でも cmd から MSBuild でも起きない
  • Windows Server 2008 R2:起きる
    • Jenkins の job で実行:OpenCover の結果が取れない
    • cmd から MSBuild 叩いて実行:nunit-agent.exe が終わらない

Visual Studio が入ってる/入ってないの違いもあるので、一概に OS がというわけでもなく。
切り分け or 解決出来たらまた詳細書きます。

*1:/noshadow は使ってないし




以上の内容はhttps://odashinsuke.hatenablog.com/entry/20120530/1338378635より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14