Jun 30 2009

Windows 7 VS 2008 Unit Test Fail – VSTestHost Hang Fix

Category: AlexRobson @ 14:24


I have no idea how many other over-eager devs there are out there who currently do a lot of development on Windows 7’s RC (I’m on build 7100) in Visual Studio 2008 SP1. I hadn’t gotten very far before running into a problem. The behavior was that the test host would hang and you wouldn’t get test results and, if you’re doing something a little different in the test, you might make the assumption, as I first did, that your code was causing the issue. (I was hosting WCF services in the test setup)

Well, it’s a known VS 2008 SP1 issue on Windows 7 and after digging around I found the fix: http://code.msdn.microsoft.com/970449/Release/ProjectReleases.aspx?ReleaseId=2830

Hopefully this entry will help those struggling with the issue to stumble on the fix. Happy unit testing : )

Tags:

blog comments powered by Disqus