You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update min required Visual C++ runtime from 2019 to 2022 #4640
When CEF starts shipping with C++20 features in the headers/wrapper then we will need to upgrade to VS2022 to build targeting VC++ 2022. Upstream issue chromiumembedded/cef#3611
Include the VC++ 2022 dlls with your application (Local Deployment).
Local Deployment
You can bin deploy the VC++ 2022 dlls alongside your application.
The following should copy the VC++ runtime into the bin/publish folders when run under Visual Studio (won't work from the command line). NOTE: ClickOnce will need different targets to add the files.
UNTESTED These will need to be tested as they were originally written for VS2019
Activity
amaitland commentedon Jun 29, 2025
The wrapper no longer builds with
VS2019, it's possible that we can get that fixed inCEF. It might just be time to upgrade toVS2022.amaitland commentedon Jun 29, 2025
Have asked at https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=20314
Will see what the CEF maintainer has to say about supporting with VS2019
amaitland commentedon Jul 1, 2025
Have upgraded to
VS2022, builds are passing again. So it looks like we'll need to upgrade.amaitland commentedon Jul 9, 2025
VC++ 2022is now required starting inM138amaitland commentedon Jul 9, 2025
For those that have the
Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, 2019, and 2022installed then no change will be required.For those that have an older
VC++ 2015/2017/2019installation there are a two options:VC++ 2022dlls with your application (Local Deployment).Local Deployment
You can bin deploy the
VC++ 2022dlls alongside your application.The following should copy the
VC++runtime into the bin/publish folders when run underVisual Studio(won't work from the command line). NOTE: ClickOnce will need different targets to add the files.UNTESTED These will need to be tested as they were originally written for VS2019
For x86/x64:
For AnyCPU:
Visual C++ Runtime
Details on deploying/redistributing the
Visual C++ 2022 runtime.Universal CRT
For those looking for more detail on the
Universal CRT