OutSystems / WebView

Avalonia/WPF control that wraps CefGlue webview control
Apache License 2.0
310 stars 38 forks source link

WebViewControl-Avalonia pipe line build failed #300

Closed Nikhilthambi closed 1 year ago

Nikhilthambi commented 1 year ago

I am using webview controller ("WebViewControl-Avalonia" Version="2.106.6") for rendering html in avalonia (windows)

WebViewControl-Avalonia

pipeline build command:-

dotnet publish --sc -r win-x64 -o "AvaloniaTool$(VERSION)_x64" -c Release -p:DebugType=None -p:DebugSymbols=false

In rider debug mode and release mode build is perfect but while build in pipeline build is failing due to Xilium.CefGlue.BrowserProcess.exe

Application: AvaloniaTool.exe CoreCLR Version: 6.0.21.52210 .NET Version: 6.0.0 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeInitializationException: The type initializer for 'Xilium.CefGlue.CefRuntime' threw an exception.

when use WebViewControl-Avalonia Version="2.91.29" build is success but webview controller is not working and couldn't render html

I tried some downgrade versions of WebViewControl-Avalonia but still the problem is exist

and install following supporting libraries for Xilium.CefGlue

"CefGlue.Avalonia" Version="106.5249.6", "VitalElement.CefGlue.Core" Version="0.9.0-build20-alpha", "VitalElement.CefGlue.Core.Avalonia"

Could you please suggest some fixes and I am curios about if some one already faced or fixed something similar like this issue, all suggestion and helping would be appreciate

Thanks

joaompneves commented 1 year ago

Have you tried to check both output folders for differences?