做了一個winform項目,用到cefsharp,想把cefsharp的一大堆文件放在應用程序的子目錄。解決方案:項目中dll設置爲不負責+probing配置
參考:
https://github.com/cefsharp/CefSharp/issues/601
https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/specify-assembly-location?redirectedfrom=MSDN
//關掉調試日誌
settings.LogSeverity = LogSeverity.Disable;
如果不設置,會在程序目錄下生成debug.log,會記錄敏感信息