执行exe文件,在不同的文件夹中有dll [英] executing exe file with having dlls in different folder

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

问题描述





我已经构建了一个Windows窗体应用程序。我在我的应用程序中使用了两个第三方Dll的。现在我将这些第三方dll的保存在同一文件夹中,因为我的 app.exe 存在。一切都很好。



但是现在我需要通过将第三方Dll放在不同的文件夹来运行我的app.exe。



我在visual studio 2012中需要做些什么。





谢谢。



I have built a windows form application. I am using two third party Dll's in my application. Now I am keeping these third party dll's in same folder as my app.exe is present. Everything is working fine.

But now I need to run my app.exe by placing the third party Dll's in different folder.

What I need to do for it in visual studio 2012.


Thanks.

推荐答案

在这里找到解决方案..



http://stackoverflow.com/ questions / 10025127 / how-to-embed-dll-from-class-project-into-my-project-in-vb-net / 10025506#10025506



非常很好。
Found solution here ..

http://stackoverflow.com/questions/10025127/how-to-embed-dll-from-class-project-into-my-project-in-vb-net/10025506#10025506

very nice.


这个 [< a href =http://www.codeproject.com/Articles/12215/Assemblies-locating-binding-and-deploying\"target =_ blanktitle =New Window> ^ ]文章将帮助你开始。
This[^] article will help you get started.


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

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