C# 程序修改dll引用路徑
要修改程序引用的DLL路徑,在配置文件 app.config 上添加 runtime 內的配置,將項目的 dll 文件都放到 privatePath 配置的目錄即可
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key ="" value=""/>
</appSettings>
<runtime>
<gcConcurrent enabled="true" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<publisherPolicy apply="yes" />
<probing privatePath="DLL" />
</assemblyBinding>
</runtime>
</configuration>

浙公網安備 33010602011771號