Mixed mode assembly in .NET 4

The best would probably be to recompile your class library for .NET 4.0 in Visual Studio 2010 (ie. opening up the project, converting it, and changing the target framework.) If you can’t, or won’t, do that, then you can try adding the following to your app.config file for your .NET 4.0 application: <startup useLegacyV2RuntimeActivationPolicy=”true”> <supportedRuntime … Read more

What does ‘useLegacyV2RuntimeActivationPolicy’ do in the .NET 4 config?

After a bit of time (and more searching), I found this blog entry by Jomo Fisher. One of the recent problems we’ve seen is that, because of the support for side-by-side runtimes, .NET 4.0 has changed the way that it binds to older mixed-mode assemblies. These assemblies are, for example, those that are compiled from … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)