What does it mean when ReSharper says "Failed: Could not create ITestClassCommand..." when I try to run my tests?

Short answer:

You are using an older version of the ReSharper runner. Please upgrade to a later version of the xunitcontrib project (version 0.3 or later)

Long answer:

Versions of the ReSharper runner prior to version 0.3 required that the project being tested was compiled against the same version of xunit.dll (1.1) as the runner. If the project were compiled against a different version, the project's dll would not load, resulting in this error message.

Version 0.3 was rearchitected to use xUnit.net's version independent runner system, meaning the version of xunit.dll in the project is the one that actually runs the tests, not the ReSharper plugin. This fixes this error.

Last edited Jul 10, 2009 at 12:59 AM by mattellis, version 1