VS2015でASPNET 5アプリケーションをテストしようとしています。アプリケーションをロードしたり、コマンド 'Microsoft.Dnx.TestHost'を実行できません。利用可能なコマンド:test
{
"version": "1.0.0-*",
"description": "HoldingTank Class Library",
"dependencies": {
"EntityFramework.InMemory": "7.0.0-rc1-final",
"FluentAssertions": "4.1.1",
"GenFu": "1.0.4",
"MyMVCProject": "1.0.0-*",
"xunit": "2.1.0",
"xunit.runner.visualstudio": "2.1.0"
},
"commands": {
"test": "xunit.runner.dnx"
},
"frameworks": {
"dnx451": { }
}
}
しかし、テストはテストエクスプローラウィンドウに表示されず、私はF5キーを打つとき、私は得る:私はちょうど[ファクト]で飾らつのテストを、持っている
------ Discover test started ------
------ Test started: Project: HoldingTank ------
Starting Microsoft.Dnx.TestHost [C:\Users\erik\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bin\dnx.exe --appbase "C:\code\PortalSolution\src\HoldingTank" Microsoft.Dnx.ApplicationHost --port 52620 Microsoft.Dnx.TestHost --port 56351 --parentProcessId 8368]
Error: Unable to load application or execute command 'Microsoft.Dnx.TestHost'. Available commands: test.
Unable to start Microsoft.Dnx.TestHost
========== Discover test finished: 0 found (0:00:01.8238001) ==========
が、それは見ていませんそれがそう遠くなっているように。
エラーを読み込むことはできませんが(TestHost固有のものは見つかりませんでした)同様の質問を見ると、テストプロジェクトとアプリケーションの両方が同じフレームワークをターゲットにしていることを確認しましたが、矛盾を見つけてください。イベントログには何も表示されません。
提案がありますか? - これをトラブルシューティングするためにどこに行かなくてもわからない。