Add an app.config file to your project if you don't have one already in place. In this file, you need to add:
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true" />
</configuration>
This tells .NET 4 to allow
Mixed Mode[
^] CLR 2 assemblies.