问题
I have made changes to my SSIS package within MS Visual Studio 2019 (MS VS 2019). When I deploy my changed package to the Integration Services Catalog and re-run the job the changes don't appear to have been reflected. The change I made was to add a truncate and re-load to a staging table. I know it's not working because after the job has run the staging table does not have any records. When I manually run the project from within MS VS 2019 it works (i.e. the staging table is populated).
I've tried deploying the project from MS VS 2019, deploying just the package from MS VS 2019 as well as copying the package file from its location on my local machine to the directory on the MS SQL Server machine accessed by the SSIS catalog. None of these seem to work.
回答1:
I already met this issue. Are you deploying at project level with a .ispac or at package level ? In both case, I suspect a bug with the build of your project. In your solution directory, try to delete the .ispac located in the bin/ folder. You can also delete the content of the obj/ folder ( to be safe, move it in another folder in case you have to restore it). Then rebuild your solution in Visual Studio. The .ispac/.dtsx files should be updated a'd ready to deploy.
I hope it helps. :-)
来源:https://stackoverflow.com/questions/57486629/deployed-ssis-package-not-reflecting-changes-made-to-package