-
-
Notifications
You must be signed in to change notification settings - Fork 53
Chromium WebView
The Windows version utilises the CefSharp WinForms version of Chromium Embedded Framework.
You will need
- PowerShell on Windows
- AIR 30
From the command line cd into /example and run in PowerShell:
PS get_dependencies.ps1
- Download cef_binaries_x86.zip from the latest release tag
- Unzip the contents of cef_binaries_x86.zip into the bin folder of your AIRSDK.
- Copy the contents of the "c_sharp_libs_x86" folder into the bin folder of your AIRSDK.
The location of this will vary depending on your IDE. These dlls and other cef files need to reside in the folder where adl.exe is run from.
-
CEF was built with MS Visual Studio 2013. As such your machine (and user's machines) will need to have Microsoft Visual C++ 2013 Redistributable (x86) runtime installed. http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe
-
This ANE was built with MS Visual Studio 2015. As such your machine (and user's machines) will need to have Microsoft Visual C++ 2015 Redistributable (x86) runtime installed. https://www.microsoft.com/en-us/download/details.aspx?id=48145
-
This ANE also uses .NET 4.6 Framework. As such your machine (and user's machines) will need to have to have this installed. https://www.microsoft.com/en-us/download/details.aspx?id=48130
-
For release builds, the cef_binaries_x86 and c_sharp_libs_x86 files need to be packaged in the same folder as your exe.
AIR29 now includes 32bit and 64bit in the AIR SDK. However it appears adl.exe is 32bit only. Therefore when debugging use x86 version of the cef and cefsharp dlls.
If you are using the 64bit version for release follow the above instructions replacing x86 with x64 where applicable
It is highly recommended you package your app for release using an installer.
Please see the win_installer folder for an example Inno Setup project which handles .NET 4.6 and MSV2015 dependencies.
This work is licensed under Apache License, Copyright (c) 2018 Tua Rua Ltd.
Configuring the ANE
- Windows