Last week I was helping a customer get up and running with Lab Management. In an effort to make sure they’re up to date, I installed TFS and VS 2010 SP1 on their TFS machine as well as in all the Lab machines.
Everything was going smoothly until we started running automated tests. The tests would return as “not executed” and the error was:
"Attempted to access an unloaded AppDomain. (Exception from HRESULT: 0x80131014)"
The strange thing was that if we turned off all the diagnostic adaptors, the tests ran successfully
After some investigation, we found out that this was a known bug in SP1. Yesterday, however, a QFE was released that fixes this issue. If you’ve installed TFS and VS 2010 SP1 on your TFS and in your lab machines, make sure you apply this QFE if you want to run automated tests with diagnostic data adaptors!