C#使用CefSharp页面空白的解决办法
文章目录
按照CefSharp官方教程部署并编写第一个应用,你可能会碰到两个坑:
1、无法编译,提示找不到文件Microsoft.Cpp.Default.props
解决办法:安装以下组件
原因是
About 30% of the bindings are written in C++/CLI with the majority of code here is C#
2、窗口一片空白,无法显示网页
解决办法:在解决方案属性——配置——平台新增并选择x86

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论