参考误差 [英] Reference error

查看:74
本文介绍了参考误差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在控制台应用程序项目中添加了一个称为Redemption.dll的引用.当我运行程序时,它运行良好.如果我将exe文件移动到其他地方,则会出现FileNotFoundException(无法加载文件或程序集'Interop.Redemption....系统 找不到指定的文件.)

I have added a Reference called Redemption.dll in to my console application project. When I run the program it works fine. If I move the exe file to somewhere else it ive me FileNotFoundException (Could not load file or assembly 'Interop.Redemption.... System cannot find the file specified.)

这是什么,如何克服呢?

What is this and how can overcome this?

推荐答案

嗨ChamW,

Hi ChamW,

您需要将dll文件与exe一起放置才能正常运行.

you need to put the dll file along with the exe to run properly.

您尝试过吗?

谢谢!


这篇关于参考误差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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