I have a very wierd problem happening to me during unit testing (MSTest in Visual Studio - .NET 3.5 SP1):
As you can see the problem is very inconsistent, making it hard to debug.
I've tried using Fusion Log Viewer, but that gave me confusing results I didn't quite understand.
What should I be looking for? Has anyone else experienced this problem?
Update: Some additional info was requested.
The tests has run fine for months - I think last time I ran them was thursday, and then they ran fine. I've been trying to examine the source control history, to see if something has changed, but nothing out of the ordinary.
I could track back and check out the project at different days back in time, but we're using Visual Source Safe (I know - not my descission :-( ) so I'm hesitating to do that.
The tests are regular unit tests, and I'm using Moq for mock-objects... But as I said - it has worked fine until recently.
I was just hoping for some advice on how to debug this issue.
We encountered this issue as well, though it only happened on our build server (where we have VS2008 installed in order to use MSTest with MSBuild), not locally. We installed this hotfix in the version of VS2008 on the build server and that eliminated this problem.
Apparently it is a bug. No doubt you've already found this but just in case, here's a link.
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=95157
Hope it helps.
The problem described here is only occuring on my machine. I tried purging my VS2008 settings, disabling all Add-Ins and checking the project out on a different location, but neither worked. Right now I think the last possible solution before a reformat of the machine is reinstalling VS2008, which I don't have time for at the moment, so I will just have to live with the issue for now.
User contributions licensed under CC BY-SA 3.0