CefSharp WPF Error

做~自己de王妃 提交于 2019-12-06 10:45:12
hyf

You should install vc++ redist 2013(x86 or x64) on the target computer. vc++ redist 2015 doesn't work.

Download available from here:

Visual C++ Redistributable Packages for Visual Studio 2013

I had this problem after updating the NuGet package. I realized that my installer was copying dependencies from a folder named "Needed" where I had previously painstakingly collected all of the files needed to run the application (with lots of unmanaged things). So when I ran the exe from the build folder it worked fine, but when I installed it, it crashed because all of the DLLs were for the previous version. A quick fix for me was to just copy all of the contents of my build folder to the silly "Needed" folder I had previously made.

Hopefully I'll find this a year from now when it happens again.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!