开发者

How to add reference to an external DLL from within script task?

How can I add reference to an external assembly from within a scr开发者_JAVA技巧ipt task and deploy the package to a server along with the newly added external assembly?


If this is in reference to your other recent question, then the only proper way to get the correct version of a Word DLL on the server where you want to deploy to is to install the proper product onto the server. Most DLL's (especially from products like Microsoft Office) are not redistributable (meaning you are not legally allowed to copy them from machine to machine without the underlying product installed). If a DLL from Microsoft is redistributable, then there will be a document accompanying the DLL that tells which DLL's are allowed to be copied from machine to machine and what the correct process for doing so is.

If this is not in reference to that question, then can you provide more detail about what it is you are trying to do so that we can help you more.


Assuming you are using SSIS 2008 (it was a bit different for SSIS 2005) - the referenced assembly needs to be installed into GAC (Global Assembly Cache) on target machine where you run the package.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜