If I build a test assembly with target framework v4.5 and run MSTest on it, it will launch an instance of QTAgent32.exe. However, if I set the target framework to v4.5.2 and run MSTest it will instead launch an instance of QTAgent32_40.exe.
Why is this? How can I make MSTest.exe pick the correct QTAgent (QTAgent32.exe in this case)? What determines which QTAgent is started?
Edit: This happens both using the VS2013 and VS2015 versions of MSTest/QTAgent.