Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

After VS 2017 update to 15.8.0, I am unable to compile script task that uses WinSCPNet assembly

$
0
0

After Visual Studio 2017 updated from 15.7.5 to 15.8.0, I am now receiving errors whenever I try to build and save a script task that executes the WinSCPNet assembly for the purposes of downloading files via SFTP. I am able to successfully build the script task and close VSTA, but when I click on OK to save the changes, I receive the following error:

"Scripts contained in the package have compilation errors. Do you want to save changes?"

https://i.stack.imgur.com/KOSyF.png

When I click yes and save these bogus errors, the script task no longer does its job. While SSIS will execute it successfully, it does nothing. I am largely using code provided on WinSCP's website here: https://winscp.net/eng/docs/library_ssis.

Troubleshooting steps attempted:

  1. I am able to successfully build other script tasks and save without error.
  2. I am able to build the script task that uses the WinSCPNet assembly on an older installation of VS 15.7.5
  3. I installed SSDT 15.8.0 only to a test environment and I get the same problem when trying to save after a successful build of the script task that uses the WinSCPNet assembly.
  4. I tried creating a whole new project and re-compiling but I get the same error.
  5. I have tried uninstalling and re-installing the assembly from the GAC, but that did not resolve the problem.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>