Forum Discussion
Abishek_Kumar_Jain
Nov 23, 2023Copper Contributor
Compile From Azure Pipeline ignores certain files related to CefSharp nuget package
Good day to all, We are developing a WPF Desktop project that uses the nuget package "CefSharp.Wpf.NETCore". When we build this project from Visual studio manually (in both debug and release mode...
muhammadmaaz
Oct 03, 2024Copper Contributor
Hi Abishek,
I know this is almost a year old, but I'm facing the exact same issue. Debugging our project works fine but trying to run the release build that's compiled from Azure Pipelines is throwing exception that CefSharp could not be initialized.
Were you able to resolve your issue? And if so, please share your findings.
Thanks,
Maaz
I know this is almost a year old, but I'm facing the exact same issue. Debugging our project works fine but trying to run the release build that's compiled from Azure Pipelines is throwing exception that CefSharp could not be initialized.
Were you able to resolve your issue? And if so, please share your findings.
Thanks,
Maaz
balasubramanim
Oct 03, 2024Iron Contributor
To fix the issue with CefSharp not being initialized in your release build, try the following:
- Make sure the build pipeline includes all necessary files and dependencies for CefSharp.
- Explicitly include CefSharp files in your build pipeline configuration.
- Check that the CefSharp version in your project matches the version installed by the build pipeline.
- Ensure the build pipeline has the necessary permissions to access and copy files.
If you're still having trouble, try enabling detailed logging in your build pipeline to get more insight into what's going wrong.