The assembly named '%1$s' was loaded from '%2$s' using the LoadFrom context. The use of this context can result in unexpected ...

The assembly named '%1$s' was loaded from '%2$s' using the LoadFrom context. The use of this context can result in unexpected behavior for serialization, casting and dependency resolution. In almost all cases, it is recommended that the LoadFrom context be avoided. This can be done by installing assemblies in the Global Assembly Cache or in the ApplicationBase directory and using Assembly.Load when explicitly loading assemblies.