The default XNA solution is not COM visible. It looks like the test framework looks a little better if it is COM-visible. The easiest solution is to open AssemblyInfo.cs, find the line
[assembly: ComVisible(false)]
And change false to true.
A blog post from Carlos Quintero led me to a fix. This only works in half the cases, and I'm not sure that he is responsible for fixing the problem.
Aaron Stebner states in a forum post that it should not work if the test project refers to ContentProject and refers to the WPDT release notes that agree with this. In my tests, the game project itself should not reference ContentProject so that the tests run successfully every time. I took to remove links for running tests and subsequent replacement. Depending on your test coverage, this may work well or be useless, but it seems like this is the best we can get with a built-in test suite.
source share