0

I get an error

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.

What shall I do?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • 1
    See http://stackoverflow.com/questions/2455654/what-additional-configuration-is-necessary-to-reference-a-net-2-0-mixed-mode – Mihai8 Mar 09 '13 at 11:55

1 Answers1

0

You need to add an app.Config file and set useLegacyV2RuntimeActivationPolicy to true.

This is required to use mixed mode CLR 2 assemblies in a .NET 4 application.

Vincenzo
  • 1,549
  • 1
  • 9
  • 17