[英]How to move referenced dlls to another folder C#
I'm trying to use CefSharp's Chromium Browser, but I don't want a clunk of files from cefsharp in its startup folder.我正在尝试使用 CefSharp 的 Chromium 浏览器,但我不希望在其启动文件夹中出现来自 cefsharp 的文件。 I want to keep it in the
bin
folder, I don't know how.我想把它保存在
bin
文件夹中,我不知道如何。
Sorry, I'm a newbie at VS and all.对不起,我是 VS 的新手。
This is a partial solution to your problem.这是您问题的部分解决方案。 You can use the
<probing
> element in your run-time configuration, for specifying where to search for your assemblies, like in this example below, taken from the documentation :您可以在运行时配置中使用
<probing
> 元素,用于指定在何处搜索程序集,如下面的示例所示,取自文档:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
EDIT : The rest of the answer is in this post here .编辑:答案的 rest 在这里的这篇文章中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.