Why wont you just work....

Published Monday, February 25, 2008 8:32 AM

In a previous post on some problems I had with VS2005 and unit testing where running unit tests always gave me this:

image

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.

image

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!

image

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=9.0.0.0, 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.

by Glav
Filed under: ,

Comments

# Glavs Blog said on Tuesday, May 20, 2008 9:15 PM

I have had ongoing problems getting various tests to work using my installation of VS2008 Team Suite

# Nick said on Thursday, October 06, 2011 2:24 PM

I ran into this issue witha conversion from 2008 to 2010.

THIS FIXED MY ISSUE

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.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

This Blog

Syndication