Step Definition Reporting

179 views
Skip to first unread message

Brian Prothero

unread,
Jul 22, 2010, 12:20:20 PM7/22/10
to SpecFlow
I am having issues getting this to run on my machine. Is this due to
the my project building under the 4.0 .net framework?

Could not load file or assembly 'CMS' or one of its dependencies. This
assembly
is built by a runtime newer than the currently loaded runtime and
cannot be load
ed.

Gáspár Nagy

unread,
Jul 22, 2010, 2:47:04 PM7/22/10
to SpecFlow
Yes, most probably this is because of the 4.0 runtime. You can maybe
try forcing the specflow.exe to run under the 4.0 runtime with a
config file.

Br,
Gaspar

SQAmd

unread,
Aug 30, 2010, 2:47:35 PM8/30/10
to SpecFlow
Hi Gaspar
I too have the same issue , can you please elaborate on how to setup
the config file .
Thanks
SqaMd

Carl Hörberg

unread,
Aug 31, 2010, 3:36:42 AM8/31/10
to spec...@googlegroups.com
create specflow.exe.config with this content:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
   <startup>
     <supportedRuntime version="v4.0.30319" />
   </startup>
</configuration>

and put it in the same folder as specflow.exe
Reply all
Reply to author
Forward
0 new messages