我在发行文件夹中找不到interop.wia.dll [英] I can not find interop.wia.dll in release folder

查看:130
本文介绍了我在发行文件夹中找不到interop.wia.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在程序中发现了这样的错误:


错误 1
无法加载引用的库'C:\Documents and Settings \hana \ Myy文件\ Visual Studio 2008 \Projects \Digital Library1 \ Digital Library \obj \ 发布 \ Interop.WIA.dll':系统找不到指定的文件。


但我已经将它安装在我的计算机上并输入名为Microsoft Windows Image Acquisition Library v2.0的参考视觉工作室,路径为:

C :\ Documents and Settings \ hana \ My Documents \ Visual Studio 2008 \ Projects \ Digital Library1 \ Digital Library \ obj \ D ebug
\ Interop .WIA.dll。


我看到上面两条路径之间存在路径差异。即在 \ release和\ debug。



如何解决我得到的错误?



谢谢:)






解决方案

 检查您是否意外将解决方案配置切换为
发布 VS顶部的 Debug ,如下图所示。 如果不是,请将其切换回Debug。



 



I found an error in my program like this:

Error 1 Unable to load referenced library 'C:\Documents and Settings\hana\My Documents\Visual Studio 2008\Projects\Digital Library1\Digital Library\obj\Release\Interop.WIA.dll': The system cannot find the file specified.

but I have already installed it on my computer and entered the reference visual studio with the name Microsoft Windows Image Acquisition Library v2.0 with path:
C: \ Documents and Settings \ hana \ My Documents \ Visual Studio 2008 \ Projects \ Digital Library1 \ Digital Library \ obj \ Debug \ Interop.WIA.dll.

I see a path difference between the two paths above. namely in \ release and \ debug.

How do I resolve the error that I got?

thank you :)


解决方案

 Check to see if you have accidentally switched the Solution Configuration to Release instead of Debug at the top of VS as shown in the images below.  Switch it back to Debug if it is not.

 


这篇关于我在发行文件夹中找不到interop.wia.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆