I am trying to implement SFTP file transfer by using WinSCP NuGet package from the Visual Studio 2017 SSIS - Script task. Whenever I add ScripTask and add WinSCP assembly reference to the C# script project its added and build the solution successfully. But when I am closing the script project and save the SSIS project/click the Script Task "OK" button it throws error saying that "'.', hexadecimal value 0x00, is an invalid character. Line 2 Position 13 (Microsoft.SqlServer.ManagedDTS)"
Kindly help to resolve this issue.