In a previous post on some problems I had with VS2005 and unit testing where running unit tests always gave me this:
I reported that uninstalling and re-installing the test components of Visual Studio fixed it up. Well I am getting the exact same behaviour with VS2008 now. So, I thought I would uninstall the unit test component of VS2008, then re-install it, and all would be good.
Not quite, uninstalling it, then re-installing it did nothing. On further examination, the tools didn't actually uninstall. Currently, I have uninstalled the entire Team test tools selection as you can see below.
However, I still have all the functionality to run unit tests in VS2008! So not only can I not run unit tests, I cannot even uninstall anything!
Please..... why wont you just work? I have better things to do with my time....
For anyone interested in the details, it has issues trying to load the Microsoft.VisualStudio.QualityTools.Common.dll assembly as shown by the exception text below;
Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.Common, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Now this (and all the Quality tools assemblies) are located in the PrivateAssemblies folder, just like they are on a colleagues machine, and yet they cannot be found.
Update: I got jack of it not working after multiple attempts at uninstalling and re-installing the test components, and simply copied all the Microsoft.VisualStudio.QualityTools.* assemblies from the PrivateAssemblies folder into the ...\Common7\IDE folder. It is now working as expected.