Good afternoon,
we're having a semi-weird problem here with a legacy activex dll that needs to be used in a .net project and strangely it works perfectly fine (adding it as a reference and all its functionality) on one developer's machine, but on no other ones, the build-server complains about a faulty reference etc etc.
我们在这里有一个半奇怪的问题,需要在.net项目中使用遗留的activex dll,奇怪的是它在一台开发人员的机器上工作得非常好(将其作为参考及其所有功能添加),但是没有其他的,构建服务器抱怨错误的引用等。
Whenever e.g. I try to re-add the .dll, I get the following, kinda shy-on-details error-message:
每当例如我尝试重新添加.dll,我得到以下,有点害羞的详细信息错误消息:
Any ideas / suggestions why it might not work in e.g. my environment? The project file etc is a standard class library one for .net 3.5, and we all use the same files/code-base.
任何想法/建议,为什么它可能不起作用,例如我的环境?项目文件等是.net 3.5的标准类库,我们都使用相同的文件/代码库。
Cheers & Thanks, -Jörg
干杯和谢谢,-Jörg
1 个解决方案
#1
The difference between the developers machines is environment, so you can guess that the developer whose machine it works on has something else set differently.
开发人员机器之间的区别在于环境,因此您可以猜测开发人员使用的机器还有其他不同的设置。
My guess is that it is either plain old environment (vars maybe) but more likely a dependency in the SapExtractor.dll. Use FileMon when you try to add a reference to see the file that is not getting found.
我的猜测是它可能是普通的旧环境(可能是vars),但更可能是SapExtractor.dll中的依赖项。当您尝试添加引用以查看未找到的文件时,请使用FileMon。
Also you can use Depends.exe for seeing which files SapExtractor.dll depends on.
您还可以使用Depends.exe查看SapExtractor.dll所依赖的文件。
Google for both tools, both from MS and very reputable.
Google提供这两种工具,均来自MS并且声誉卓着。
Ryan
#1
The difference between the developers machines is environment, so you can guess that the developer whose machine it works on has something else set differently.
开发人员机器之间的区别在于环境,因此您可以猜测开发人员使用的机器还有其他不同的设置。
My guess is that it is either plain old environment (vars maybe) but more likely a dependency in the SapExtractor.dll. Use FileMon when you try to add a reference to see the file that is not getting found.
我的猜测是它可能是普通的旧环境(可能是vars),但更可能是SapExtractor.dll中的依赖项。当您尝试添加引用以查看未找到的文件时,请使用FileMon。
Also you can use Depends.exe for seeing which files SapExtractor.dll depends on.
您还可以使用Depends.exe查看SapExtractor.dll所依赖的文件。
Google for both tools, both from MS and very reputable.
Google提供这两种工具,均来自MS并且声誉卓着。
Ryan