Using reference libraries (dll) stored in a different folder from the main program?

心不动则不痛 提交于 2019-12-12 21:24:12

问题


(This might be a obvious question but I wasn't sure what to ask Bing/Google)

In a VS2008 (C# Winforms) project there are numerous third party libraries that are referenced. The project uses 'Copy Local = True' so that the various DLL files end up in the same folder as the compiled application.

To clean things up I would like to modify the program so that the libraries are all under a subfolder.

For example:

C:\MyProgram\ -> main program folder C:\MyProgram\Libraries -> DLL storage folder

How would I do this?

来源:https://stackoverflow.com/questions/3577320/using-reference-libraries-dll-stored-in-a-different-folder-from-the-main-progr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!