Add the following directive to your app.config
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
This should fix your mixed mode problem.
Henrik P. Hessel
2010-09-25 20:14:52