简体   繁体   中英

Prism 5.0 External 3rd party dll

so I am a bit confused on how to word this...

The program we are using utilizes a third party DLL developed by a vendor. This DLL is not a prism module its a basic DLL.

When adding this regularly as c# requires it fails to initialize the module that uses it throwing a key not found error.

When moving this DLL to the modules directory it will throw an exception as the DLLis not compatible (using MEF directory discovery of Modules)

When trying to embed this DLL as an Interop type it throws the regular interop errors as the DLL was not built with this in mind.

so I guess my question is. What is the best way to add an external DLLas a dependency to a module without having access to the source code of the DLL

事实证明,使用外部库的模块需要正确引用它,但在运行时,需要在执行文件夹的Shell(启动项目)中访问该库

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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