C#:将dll文件添加到程序集文件
问题描述:
大家好,
我在powerbuilder 12.5中创建了一个Web服务,并将该Web服务安装到客户端计算机中.我创建了powerbuilder运行时打包程序,并将其安装到客户端计算机中.
当我执行该Web服务时,显示错误:
hi all,
I have created a web service in powerbuilder 12.5 and i installed that web service into the client machine. I created a powerbuilder runtime packager and I installed it into the client machine.
When I execute that web service it''s showing an error:
Could not load file or assembly 'Sybase.PowerBuilder.DataWindow.Interop.dll' or one of its dependencies.
我从powerbuilder设置文件中找到了该.dll文件,我试图将该dll文件添加到客户端计算机程序集中,但这没有用.
任何帮助将不胜感激.
谢谢.
I found this .dll file from powerbuilder setup file and I tried to add that dll file into client machine assembly but that did not work.
Any help is greatly appreciated.
Thanks.
答
您似乎丢失了一些文件,最好的方法是使用PowerBuilder自己的打包程序来创建一个安装文件,该文件将安装您的应用程序所需的一切.
Obviuosly you are missing some files, the best course is to use PowerBuilder''s own packager to create a setup file which will install everything your application needs.
要找出这种情况,请使用Microsoft Dependency Walker, http://en.wikipedia.org/wiki/Dependency_walker [ ^ ],http://www.dependencywalker.com/ [ ^ ].
它在某些困难的情况下(例如您所描述的情况)对我有所帮助,当然也可以为您提供帮助.—SA
To dig out such thing, use Microsoft Dependency Walker, http://en.wikipedia.org/wiki/Dependency_walker[^], http://www.dependencywalker.com/[^].
It helped me in some difficult situations like the one you described, can certainly help you, too.—SA