CefSharp ChromiumWebBrowser 将所有依赖项放在不同的文件夹中
CefSharp ChromiumWebBrowser put all dependencies in different Folder
我在 winform Dotnet Framework 4.0 中使用 CefSharp.ChromiumWebBrowser
49.0.0
executable/Application 文件夹中需要以下文件:
cef.pak
CefSharp.BrowserSubprocess.Core.dll
CefSharp.BrowserSubprocess.exe
CefSharp.Core.dll
CefSharp.dll
CefSharp.WinForms.dll
cef_100_percent.pak
cef_200_percent.pak
cef_extensions.pak
d3dcompiler_43.dll
d3dcompiler_47.dll
devtools_resources.pak
HAP.dll
icudtl.dat
libcef.dll
libEGL.dll
libGLESv2.dll
loc.txt
natives_blob.bin
snapshot_blob.bin
widevinecdmadapter.dll
我想将所有这些文件放在单独的文件夹中,而不是在我的应用程序文件夹中。
我浏览了几个 SO 帖子,例如 How to reference C# dll located in different folder to a C# winforms exe in different folder
但我想要 CefSharp
的所有依赖文件在不同的文件夹或目录中。
怎么做?
尝试在参考文献中使用 Copy Local
作为 False
作为:
在 App.config 中使用 assemblyBinding 作为:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
我在 winform Dotnet Framework 4.0 中使用 CefSharp.ChromiumWebBrowser
49.0.0
executable/Application 文件夹中需要以下文件:
cef.pak
CefSharp.BrowserSubprocess.Core.dll
CefSharp.BrowserSubprocess.exe
CefSharp.Core.dll
CefSharp.dll
CefSharp.WinForms.dll
cef_100_percent.pak
cef_200_percent.pak
cef_extensions.pak
d3dcompiler_43.dll
d3dcompiler_47.dll
devtools_resources.pak
HAP.dll
icudtl.dat
libcef.dll
libEGL.dll
libGLESv2.dll
loc.txt
natives_blob.bin
snapshot_blob.bin
widevinecdmadapter.dll
我想将所有这些文件放在单独的文件夹中,而不是在我的应用程序文件夹中。
我浏览了几个 SO 帖子,例如 How to reference C# dll located in different folder to a C# winforms exe in different folder
但我想要 CefSharp
的所有依赖文件在不同的文件夹或目录中。
怎么做?
尝试在参考文献中使用 Copy Local
作为 False
作为:
在 App.config 中使用 assemblyBinding 作为:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>