VSTestHost hang on Windows 7 RTM

Published 06.09.2009 06:08 PM by Admin in Testing
Tags: ,

I have Windows 7 RTM installed and Visual Studio 2008 with SP1. After writing some simple unit test and run it I have got VSTestHost.exe not responding error.

First I have thought that is Windows 7 error. I have looked and find some hotfix and if you have some similar problems I suggest to try run sample test with no code to ensure that problem is not in your code. That hotfix is on this address : http://code.msdn.microsoft.com/970449/Release/ProjectReleases.aspx?ReleaseId=2830

After better looking in my code I have found that problem is in my own code. I have had recursive call to a method inside unit test so test method is never finishing and VSTestHost is hang out after few seconds with unknown error.

Hopefully this post will help someone struggling with similar issues…

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



Radenko Zec Blog

Silverlight, C#, WCF, WPF,NET...