关于c#特定参考路径的问题 [英] Question about c# specific reference path

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

问题描述

我刚刚发现可以选择参考文件的特定路径。我在.exe所在的调试文件夹中创建了'Plugins'文件夹,我右键单击>添加项目的参考,我从'插件'中选择一个.dll但是当我运行时,所有的dll都复制到.exe所在的调试,我不喜欢这个,我希望dll可以从'插件中引用'文件夹......这是一个问题还是它的工作原理?!



>> PICTURE <<

i just found out that is possible to select specific path for reference files. and i created 'Plugins' folder in my debug folder where the .exe is, and i do right click > add reference on the project and i select a .dll from 'Plugins' but when i run, all the dll's are copying to the debug where the .exe is, i dont like this, i want the dlls do be referenced from the 'Plugins' folder.... is this a problem or its how it works?!

>> PICTURE <<

推荐答案

你可以 - 单击|属性引用并将复制本地设置为false。
You can right-click|properties the reference and set "Copy local" to false.


这篇关于关于c#特定参考路径的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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