Unknown Test Runner Type

[Update: Fixed in build 799]

A few people have reported experiencing 'Unknown test runner type'. When they try to execute a test. I have narrowed it down to what looks like a shadow copying issue. It has me completely baffled though, because shadow copying isn't enabled! It only seems to happen on a few machines. I haven't been able to reproduce it here on any of my configurations.

As far as I know shaddow copying will happen in the following situations; an assembly exists in the GAC, an assembly is downloaded from a remote location or shadow copying is enabled in the app domain. Can anyone think of a reason why an assembly would be copied to "...\local settings\application data\assembly\dl2\dl4lt40e.2po\5p2ozohz.6nm\52f69477\00d3c97f_01b7c401\testdriven.testrunner.dll", if none of these were true?  Also why would this shadow copying happen on some machines but not others?

If you are experiencing this issue, please comment here and let me know what software configuration you're using. I am particularly interested to know what version(s) of .NET and Visual Studio you have installed. Thanks to Gary McCullough I do have a workaround. Please leave an email address so I can sent it to you (your email address won't be visible on the web!).

1 Comment

  • What you described about shadow copy is correct. We only copy things to download cache, if it is from an http binding, or shadow copy is enabled.



    I have no idea why it happens on some machines but not the others. It is likely those reproing machines has shadow copy enabled somewhere.

Comments have been disabled for this content.