Whenever I try to run tests on Test Explorer from Visual Studio 2012, SOME test are being categorized as "External", even though the Group By is set as "Group By Project"
Then the source code is not recognized
Whenever I try to run tests on Test Explorer from Visual Studio 2012, SOME test are being categorized as "External", even though the Group By is set as "Group By Project"
Then the source code is not recognized
This was happening for me but only when the combined length of the namespace, class, and test method exceeded 254 chars. (MS-Test, Visual Studio 2013 12.0.40629.00 Update 5)
This is due the pdb file is not included in the compilation. If you're compiling in a solution configuration other than debug you must ensure that pdb is included.
To achieve that you must open the advanced build setting:
In the new window you must select "pdb-only" in the debug info dropdown.