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.NETFrameworkv4.0.30319CasPol -m -ag 1.2 -url file://E:/* FullTrust
SETX COMPLUS_LoadFromRemoteSources 1 /M
Echo Please restart your Visual Sutdio...
原文地址:https://www.cnblogs.com/steven-yang/p/5265309.html