cefsharp / cef-binary

NuGet repackaging of the CEF binaries provided by Chromium Embedded Framework
https://cef-builds.spotifycdn.com/index.html
Other
110 stars 87 forks source link

Deploy app with cefsharp as ClickOnce #106

Closed renatotozzi closed 1 year ago

renatotozzi commented 1 year ago

Hi all,

I have an application WindowsForms and I use ClickOnce to deploy, but after using cefsharp my pipeline in Azure DevOps stoped working because the app have now two .exe files (MyApp.exe and CefSharp.BrowserSubprocess.exe).

Somebody know if there is a way to fix this issue? There is a way to not use the subproccess.exe or it is really necessary to the cefsharp works? All I need from cefsharp is show PDF files which comes from a .net core API.

That's all, hope somebody can help me

Thank you

amaitland commented 1 year ago

In future please use Discussions to ask support related questions.

You can use your own application exe to as the BrowserSubProcess see https://github.com/cefsharp/CefSharp/wiki/SelfHost-BrowserSubProcess

You can add a <Target/> to your proj file to exclude CefSharp.BrowserSubprocess.exe from your build output.