Error when running MSpec - how do I troubleshoot?

Posted by Tomas Lycken on Stack Overflow See other posts from Stack Overflow or by Tomas Lycken
Published on 2010-05-17T05:49:06Z Indexed on 2010/05/17 9:00 UTC
Read the original article Hit count: 329

Filed under:
|
|

I am following this guide to installing and using MSpec, but at the step where he runs MSpec for the first time, I get the following error:

Could not load file or assembly 'file:///[...]\Nehemiah\Nehemiah.Specs\bin\Debug\Nehemiah.Specs.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

I have - to my knowledge - done everything more or less exactly like he did up to this step, except where differences arise because he's using VS2008 and I'm using VS2010, and everything has worked so far. The project Nehemijah.Specs (and the entire solution) builds without problem, both in Visual Studio and on my build server, and I can't find anything useful in Event Viewer (although I might not be looking in the right place here...)

What to do?

© Stack Overflow or respective owner

Related posts about mspec

Related posts about .net-4