I\'m embedding required assemblies to my project and resolving them on runtime with AppDomain.CurrentDomain.AssemblyResolve
event.
All works okay except
Just in case anyone else is having my version of this problem, here's how I fixed it:
I really must have messed something up with my references/resources. I was getting this error when trying to load any external .dll from my program.
EDIT : The references i posted are not valid anymore, because of outdated external links. Please refer here. How do I dynamically load raw assemblies that contains unmanaged code?(bypassing 'Unverifiable code failed policy check' exception)