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
属性

评论

暂无评论