FileLoadException: 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.
…above modifications to the <startup> element in the proxy generation tool’s app.config file. A technical discussion of this exception and why it’s fixed by setting useLegacyV2RuntimeActivationPolicy=”true” can be found here….