简体   繁体   中英

Script task changes are not saved in SSIS

I am working on a SSIS package in Visual Studio 2019 to dynamically load a flat file into SQL Server using a C# script task (Visual C# 2017).

When I edit the script task and make some changes, save and build, everything looks fine. I did set a breakpoint in the script task, saved the SSIS package, built it and ran the solution.

While running the SSIS job, the debugger takes control and opens up the script task. However, I do not see my new changes in the debug mode. When I stopped the package and re-open the script task, my changes are lost.

Can someone help?

Depending on how you are exiting your VSTA instance, this may be causing SSIS to not save your changes correctly. If you simply exit (x-out of the window) the VSTA window, even after saving, SSIS will not retain your changes. You must exit the file after saving it by clicking the "OK" button in the Script Task Editor window.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM