You may get this error when using WinSCP .NET assembly from restricted environments, such as SSIS. To use the assembly from SSIS, it needs to be installed to GAC. Alternatively, you can subscribe
AppDomain.AssemblyResolve event to allow loading the assembly.
If the above is not your case, use Assembly Binding Log Viewer (
Fuslogvw.exe) to debug assembly loading.