cefsharp放在應用程序的子目錄

做了一個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,會記錄敏感信息

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章