打开脚本任务时SSIS丢失文件引用

时间:2022-12-06 10:35:49

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

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

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.

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

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

但是,重新打开脚本任务后,文件引用将在列表中消失,并且脚本不会编译。

How's that possible ?

怎么可能?

1 个解决方案

#1


13  

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

似乎在SSIS中提到了一个错误,但我在这里有一个解决方法:

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

只需单击“全部保存”,而不是仅关闭弹出的IDE C#编辑器。

#1


13  

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

似乎在SSIS中提到了一个错误,但我在这里有一个解决方法:

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

只需单击“全部保存”,而不是仅关闭弹出的IDE C#编辑器。