How do I reference a dll from SSIS in 2012?

感情迁移 提交于 2019-12-18 09:19:33

问题


I am trying to add a dll reference to my SSIS package (2012) with a script Component. The IntelliSense is working for me and I don't see error when coding. However, I get the following error:

Could not load file or assembly 'XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XYZ' or one of its dependencies. The system cannot find the file specified.

Please help.


回答1:


If this is a custom DLL, then you will need to install it into the GAC (global assembly cache) for it to run outside of SSDT.

An assembly cannot be installed into the GAC unless it's strongly signed. Once it's signed, from a Visual Studio command prompt, registration would look like gacutil -if MyRadAssembly.dll



来源:https://stackoverflow.com/questions/11104830/how-do-i-reference-a-dll-from-ssis-in-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!