我有一個簡單的ASP.Net MVC 4應用程序,有3個簡單的測試。VS 2012代碼覆蓋問題
每個測試運行成功完成,但代碼覆蓋率窗口給了我以下錯誤:
Empty results generated: No binaries were instrumented. Make sure the tests ran, required binaries were loaded, had matching symbol files, and were not excluded through custom settings. For more information see http://go.microsoft.com/fwlink/?LinkID=253731
我做了一些研究,但沒有解決了我的問題至今。
- 我知道測試運行
- 我在相同的位置.pdb文件作爲我的.dll
- 我不代碼optimsing
- 我無法找到任何文件.testsettings
- 我作爲管理員也運行我的VS 2012旗艦版,但沒有運氣。
如果我找到.coverage文件,所有它在它是:
PCHÿ
不是個XML結果或錯誤消息,我期待。
我有這個問題,在我的情況下,它解決了當我以管理員身份運行Visual Studio – lmcarreiro 2016-03-30 14:36:55