-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update min required Visual C++ runtime from 2015 to 2019 #3636
Comments
As per https://groups.google.com/g/cef-announce/c/IMgnaeWipwc/m/so6nGWgWBgAJ we should use
Some of these changes will happen before upgrade to keep the changes in a single commit to a more reviewable size. Branch https://github.com/cefsharp/CefSharp/tree/upgrade/93 has the work in process, it should compile, it won't run just yet. There is an incompatibility between our
There are also a lot of other cleanup tasks
|
Beta builds of version As expected attempting to build with As a result |
For those that have the For those that have an older
Local Deployment The following should copy the For x86/x64: <Import Project="$(DevEnvDir)..\..\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.props"/>
<Target Name="IncludeVisualCppInOutFolder" AfterTargets="ResolveReferences">
<PropertyGroup>
<_VCRedistLocation>$(DevEnvDir)..\..\VC\Redist\MSVC\$(VCToolsRedistVersion)\$(PlatformTarget)\Microsoft.VC142.CRT</_VCRedistLocation>
</PropertyGroup>
<Message Importance="high" Text="_VCRedistLocation = $(_VCRedistLocation)" />
<ItemGroup>
<ReferenceCopyLocalPaths Include="$(_VCRedistLocation)\**\*" />
</ItemGroup>
</Target> For AnyCPU: <Import Project="$(DevEnvDir)..\..\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.props"/>
<Target Name="IncludeVisualCppInOutFolder" AfterTargets="ResolveReferences">
<PropertyGroup>
<_VCRedistLocation32bit>$(DevEnvDir)..\..\VC\Redist\MSVC\$(VCToolsRedistVersion)\x86\Microsoft.VC142.CRT</_VCRedistLocation32bit>
<_VCRedistLocation64bit>$(DevEnvDir)..\..\VC\Redist\MSVC\$(VCToolsRedistVersion)\x64\Microsoft.VC142.CRT</_VCRedistLocation64bit>
</PropertyGroup>
<Message Importance="high" Text="_VCRedistLocation32bit = $(_VCRedistLocation32bit)" />
<Message Importance="high" Text="_VCRedistLocation64bit = $(_VCRedistLocation64bit)" />
<ItemGroup>
<_VCRedistFiles32bit Include="$(_VCRedistLocation32bit)\**\*"/>
<_VCRedistFiles64bit Include="$(_VCRedistLocation64bit)\**\*"/>
<ReferenceCopyLocalPaths Include="@(_VCRedistFiles32bit)" DestinationSubDirectory="x86\" />
<ReferenceCopyLocalPaths Include="@(_VCRedistFiles64bit)" DestinationSubDirectory="x64\" />
</ItemGroup>
</Target> Visual C++ Runtime
Universal CRT |
OVERRIDE was a CEF macro which has been removed, use standard compliant override Issue #3636
VS2019 is required to build now Issue #3636
Is this only for NET Core? According to you only need the 2019 redistributables if you target NET Core, otherwise you can just use the 2015 redistributables. |
VC++ 2019 is required for all packages now.
Wiki has been updated, thanks. |
CEF is dropping support for compiling the C++ wrapper with Visual Studio 2015/2017 see https://groups.google.com/g/cef-announce/c/IMgnaeWipwc/m/so6nGWgWBgAJ for details.
As a flow on from we will be forced to migrate from Visual C++ 2015 as the minimum to Visual C++ 2019 runtime. A lot of users will already have the Visual C++ 2015-2019 runtime, so no action will be required.
I will provide further updates once M93 builds are available and I can confirm exactly what changes are required.
For those using the
.Net Core 3.1/.Net 5.0
packagesVC++ 2019
is already required.The text was updated successfully, but these errors were encountered: