Since the VS2012 update 2 our unit tests will no long work. We did narrow the issue down to the following pre-requisites:
- VS 2012 Update 2 (prior versions worked fine)
- Unittest project targetted at 3.5 (targeted to .net 4 is OK)
- Use a <name>.testsettings file (without such a file, it works fine)
I validated this with a new solution, with just a new c# unittest project, with a single unittest and a newly created test.testsettings file. If I run or debug the test the qtagent just crashed with a "An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll"