简体   繁体   中英

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. I want to keep it in the bin folder, I don't know how.

Sorry, I'm a newbie at VS and all.

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 :

    <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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM