TeamFoundation and unit tests
-
Visual studio crashes every time when I run a unit test with the exception:
Exception details: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
After restarting: the test results pane has the same error. and when I want to open team explorer I get the error:Microsoft.TeamFoundation.Client.ServiceHostPackage ,Microsoft.TeamFoundation.TeamExplorer, package did not load correctly. ..
After a system reboot I can access team explorer again until I run a unit test and bam, vs crashes .. :(( Can i reinstall the team foundation assembly again, or do I have to do a complete VS reinstall? btw. I did a google search and didn't encounter anyone with this same error.