打开脚本任务时 SSIS 丢失文件引用 [英] SSIS loses file reference when opening script task

查看:33
本文介绍了打开脚本任务时 SSIS 丢失文件引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用自定义审核程序集 (C#) 来记录脚本任务中 SSIS 中的多种操作.

We use a custom audit assembly (C#) for logging several kinds of actions within SSIS in script tasks.

我们将构建的自定义程序集发布到 GAC(用于运行时)和 IDE (VS2008) 的公共程序集区域以供设计时文件参考.后构建完成后,自定义程序集可在文件引用弹出窗口的 .NET 选项卡中在运行时和设计时使用.

We post build the custom assembly in the GAC (for runtime) and to the public assemblies area of the IDE (VS2008) for design time file referencing. After the postbuild is done the custom assembly is available for use in runtime and for designtime in the .NET tab of the file reference popup.

然而,重新打开脚本任务后,文件引用不在列表中,脚本无法编译.

However, after re-opening the script task, the file reference is gone in the list and the script doesn't compile.

这怎么可能?

推荐答案

看起来像是 SSIS 中的一个错误,但我在这里有一个解决方法:

Seems liks a bug in SSIS, but I have a workaround here:

只需点击 Save All 而不是关闭弹出的 IDE C# 编辑器.

Just click Save All instead of just closing the popped up IDE C# editor.

这篇关于打开脚本任务时 SSIS 丢失文件引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆