猿问

安装程序项目不会调用所有.dll程序集文件并引发异常

我正在尝试使用Visual Studio 2015作为图像处理项目来创建安装项目。
在我的项目中,主要使用的库是Aforge和emug cv库。

将项目制作为安装文件期间的项目输出

检测到的依赖项是

http://img1.mukewang.com/60b1e3ea00015e2303020234.jpg

安装我的安装项目后的安装文件夹

http://img2.mukewang.com/60b1e3fb00012db411260294.jpg

使其成为安装程序项目之前的主项目正常运行,没有任何异常,但在将其转换为安装程序项目后,此异常被触发

http://img.mukewang.com/60b1e40a0001367a04560325.jpg

这意味着emug cv库未在输出目录中建立,或者主要问题是什么!




森林海
浏览 158回答 1
1回答

明月笑刀无情

我为我的问题找到了解决方案。解决方案是:在执行任何操作之前,必须首先注册所有使用的汇编文件(DLLS)。按着这些次序:1.After adding the "Setup Project" to the solution,2.Right-click on the "Setup Project", go on "Add" then click "Assembly" then3.Browse for all the used assembly files (DLLS) and add them to the "Setup   Project" then 4.After adding the assemblies files, right-click on them in "Solution   Explorer" and click "Properties" then in the properties of DLLS5.Set the "Register" property to "vsdraCOM".
随时随地看视频慕课网APP
我要回答