简体   繁体   English

在C#中引用金雅拓第三方dll

[英]Gemalto Third Party dll Referencing in c#

I have a wpf application with a feature to read passports and driver's licenses using a gemalto QS1000 and the 3M SDK. 我有一个wpf应用程序,具有使用gemalto QS1000和3M SDK读取护照和驾驶执照的功能。 The SDK and drivers are installed on my dev machine (C:\\Program Files (x86)\\3M\\3M Page Reader\\3.3.3.10\\bin...). SDK和驱动程序安装在我的开发机器上(C:\\ Program Files(x86)\\ 3M \\ 3M Page Reader \\ 3.3.3.10 \\ bin ...)。 According to the documentation, during development I should change the debug working directory to that location. 根据文档,在开发期间,我应该将调试工作目录更改为该位置。 Everything works great! 一切正常!

Now comes deployment to production machine. 现在开始部署到生产机器。

I have installed the same SDK and drivers on the production machine. 我已经在生产计算机上安装了相同的SDK和驱动程序。 According to the documentation, I should include all the appropriate dlls. 根据文档,我应该包括所有适当的dll。 What I don't understand is where I am to include these? 我不明白的是我将这些内容包括在哪里? Only a handful of the dlls are reference-able. 只有少数dll是可引用的。

If I paste my app's output directory in the bin folder below, then it works just fine, but since I don't want to do that, I'm at a lost as to how to do this properly. 如果我将应用程序的输出目录粘贴到下面的bin文件夹中,则可以正常工作,但是由于我不想这样做,所以我对如何正确执行此操作感到迷惑。

+ C:/
    + Program Files (x86)
        + 3M
            + 3M Page Reader
                + 3.3.3.10
                    + Bin (working directory on dev machine)
                        + MMMReaderDotNet40.dll (referenced in project)
                    + Config
                        + -- Needed files --
                    + Data
                        + -- Needed sub-directory --
                    + Documentation
                    + Drivers
                    + Logs
                        + -- Needed sub-directory --
                    + Plugins
                        + -- Needed sub-directory --
                    + SDK
                        + -- Code samples and such --

Documentation part 1 文档第1部分

Documentation part 2 文档第2部分

简单修复,将安装的应用程序快捷方式的起始目录更改为我需要的位置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM