Nov 5, 2012 at 5:23 PM
Edited Nov 5, 2012 at 5:27 PM
Huh. I got it working, it seems this behaviour is by design in .NET 4. These pages have some details:
What wasn't obvious though until I read that last article, is that you have to create the .config file *for the host executable*, not the DLL. This applies even though the host isn't a .NET program!So in my case, I created a file called FL.exe.config
(For FL Studio) and put it in the FL executable directory, with these contents:
<?xml version ="1.0"?>
Now it works. But I still think something is wrong as for why .NET is thinking it has to do this, so some digging into the root cause would be great.