I'm getting this runtime exception for C# 4.0 program App1 in VS 2010
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.
After poking around, I saw http://social.msdn.microsoft.com/Forums/en/windowsazure/thread/a8fd9cc6-f347-4c50-8dd5-147ecd686325
, and made the indicated change to App.config:
This works fine when App1 runs stand-alone ... except that I need to launch App1 as a process from App2. When I do that, the exception recurs.
App2's config file also includes the indicated change, and I supposed that App1, when launched by App2, would use App2's config file. But maybe not.