Tuesday, 10 May 2011

Multithreaded testing with MSTest.exe in Visual Studio

To set the unit tests to run in MTA mode, add the MTA mode attribute to the Execution element as shown in the following example:

     <ExecutionThread apartmentState="MTA" />



No comments:

Post a Comment

Android mediaserver process killing battery life

If this happens to you, then do the following Force stop on Settings, Applications, All, Media Storage. Clear Cache and Clear Data, fo...