Visual Studio 2015 Test Explorer does not show anything

Problem

After install Visual Studio 2015 community and NUnit Test Adapter, I cannot find test cases in the test explorer.

Cause

As test projects are stored on a network driver E, the test explorer need authorization to access these projects.

Solution

Run the command:

%windir%\Microsoft.NET\Framework\v4.0.30319\CasPol -m -ag 1.2 -url file://E:/* FullTrust
SETX COMPLUS_LoadFromRemoteSources 1 /M
Echo Please restart your Visual Sutdio...
posted @ 2016-03-11 13:29  SNYang  阅读(329)  评论(0编辑  收藏  举报