C#WinForm程序引用的Dll文件都会根目录下我想放在一个专门的DLL文件夹下

 

app.config文件中加上
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="libs"/>
</assemblyBinding>
</runtime>
libs为当前程序所在目录下的文件夹

posted @ 2015-12-18 10:37  星雷热忱  阅读(1659)  评论(0编辑  收藏  举报