Deploying a CefSharp WPF Application

550 views
Skip to first unread message

Nathan Sizemore

unread,
Apr 3, 2014, 12:50:45 PM4/3/14
to cefs...@googlegroups.com
Hello,

I've been building with CefSharp for the past couple months and I'm now ready to deploy.  This being my first Windows Application, I'm clueless as to get it deployed correctly from VS2012.  I've tried various ways to get it deployed with the Publish Wizard in VS2012, but no such luck.  It always crashes and throws an exception that CefSharp.dll or one of it's dependencies cannot be found.  They all get packaged into the Application Files folder, but they do not resolve right for some reason.  Can anyone walk me through setting up a project correctly with these DLLs to be able to publish from VS2012 and install on another machine?

I've made a StackOverflow Post that goes into a little more detail, but I believe it is because CefSharp.dll cannot find the DLLs it needs from the CEF Project.

Thanks in advance for any help!
Nathan

Markus Wöhling

unread,
Apr 3, 2014, 1:06:53 PM4/3/14
to cefs...@googlegroups.com
Hello,

you need the Visual C++ 2012 Runtime (http://www.microsoft.com/en-us/download/details.aspx?id=30679) on the target machine.

Markus

Nathan Sizemore

unread,
Apr 4, 2014, 8:57:36 AM4/4/14
to cefs...@googlegroups.com
I installed the C++ Runtime, but still did not work.  How exactly do you add it as a pre-requisite to a project (what is mentioned in the FAQ).  Also, how am I supposed to add the files and DLLs to the project, so that they get deployed properly?

Thanks,
Nathan
Reply all
Reply to author
Forward
Message has been deleted
0 new messages