I wanted to use chrome in my WinForms applications. This is what I have done:-
Created application.
Downloaded and installed Cefsharp.Winforms (53.0.1)
It added following:-
In app.config I added following:-
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="x86"/>
</assemblyBinding>
</runtime>
- Build the project and used the code to load my html page.
Now, the project runs absolutely fine when debugging from Visual Studio, after that I go and use publish wizard to create an installer. As soon as the installation completed, it shows the same old common message box saying "ApplicationXYZ has stopped working." I have made sure that VC++ runtime is installed. But it's not even installing on my machine.
Note: I tried a new app without Cefsharp "ChromiumWebBrowser", and it runs and installs just fine, it's only when I use cefsharp that I get the error after installation. (Let me repeat however, it does run fine while debugging and all in VS 2015).
Any help and pointer will be greatly appreciated.