做了一个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,会记录敏感信息