2014-09-30 36 views
0

我試圖調試使用Visual Studio ReSharper的一個nunit單元測試2013錯誤調試單元測試使用ReSharper的

我雖然當我嘗試調試使用ReSharper的VS內部測試成功運行測試我收到下面的警告消息。

「微軟WCF服務主機」

「目標裝配不包含的服務類型。您可能需要調整該組件的代碼訪問安全策略。」

測試不會失敗,並且Visual Studio表示它是「正在運行」,雖然沒有中斷點(在測試中)也沒有拋出任何異常或錯誤。

有沒有人遇到這種情況,並知道解決方案是什麼?

Error: The target assembly contains no service types. You may need to adjust the Code Access Security policy of this assembly.

回答