Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

49 views
Skip to first unread message

Jen Scobie

unread,
May 5, 2012, 6:53:01 PM5/5/12
to SpecRun
Hi,

I am getting this error message when running my acceptance test suite
with SpecRun. Interestingly, it's not presenting when I run the
application or any other test suite.

I followed this advice and added <startup /> tags to the App.config
file but see the same issue.
http://msmvps.com/blogs/rfennell/archive/2010/03/27/mixed-mode-assembly-is-built-against-version-v2-0-50727-error-using-net-4-development-web-server.aspx

Any ideas on why this would be?

Cheers,
Jen

Gáspár Nagy

unread,
May 30, 2012, 6:18:33 AM5/30/12
to SpecRun
Hi,

I'm not too familiar with the mixed mode assemblies, but my guess
would be that you have to add the config setting to the config file of
specrun.exe (so specrun.exe.config).

Please let me know if this helps.

Br,
Gaspar

On May 6, 12:53 am, Jen Scobie <jensco...@gmail.com> wrote:
> Hi,
>
> I am getting this error message when running my acceptance test suite
> with SpecRun. Interestingly, it's not presenting when I run the
> application or any other test suite.
>
> I followed this advice and added <startup /> tags to the App.config
> file but see the same issue.http://msmvps.com/blogs/rfennell/archive/2010/03/27/mixed-mode-assemb...
Reply all
Reply to author
Forward
0 new messages