I have an external DLL (Renci.SshNet) to be inbound and Outbound file transfer with custom operations. It works well in client mode but failing with below error in batch mode. We've only one for both Client and batch operations.
An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch