Skip to content

Commit 07049f5

Browse files
authored
Upgrade to 88.2.90 (#131)
* Upgrade to v88.2.40-pre WPF - Add https scheme to default URL to workaround upstream issue https://bitbucket.org/chromiumembedded/cef/issues/3079/cant-load-urls-without-scheme * Net Core - Add AnyCPU Platform to projects/solution * Net Core - Add RuntimeIdentifier based on PlatformTarget - Set RuntimeIdentifier based on PlatformTarget (PlatformTarget isn't set of AnyCPU) - Set SelfContained to false so as not to provide a Framework Dependant build (don't include the whole .net framework) * WPF/WinForms - Change CefSharpBuildAction to Content For testing of ClickOnce publish * Net 5.0 - Update to include PublishSingleFile settings - .Net 5.0 Publish Settings for PublishSingleFile https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file Defaults differ compared to .Net Core 3.1 - Set RollForward to Major so runs on newer runtime version - Add net5.0-windows TargetFramework * .Net 5.0 - Publish Single Exe Example - Use the main application exe as the BrowserSubprocess when self publishing a .Net 5.0 exe - Only the WPF and WinForms examples have been updated cefsharp/CefSharp#3407 * Upgrade to 88.2.90
1 parent f65fe59 commit 07049f5

18 files changed

+311
-69
lines changed

CefSharp.MinimalExample.OffScreen/CefSharp.MinimalExample.OffScreen.csproj

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.props')" />
4-
<Import Project="..\packages\cef.redist.x86.87.1.13\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.87.1.13\build\cef.redist.x86.props')" />
5-
<Import Project="..\packages\cef.redist.x64.87.1.13\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.87.1.13\build\cef.redist.x64.props')" />
3+
<Import Project="..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.props')" />
4+
<Import Project="..\packages\cef.redist.x86.88.2.9\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.88.2.9\build\cef.redist.x86.props')" />
5+
<Import Project="..\packages\cef.redist.x64.88.2.9\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.88.2.9\build\cef.redist.x64.props')" />
66
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
77
<PropertyGroup>
88
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -87,16 +87,16 @@
8787
<ApplicationManifest>app.manifest</ApplicationManifest>
8888
</PropertyGroup>
8989
<ItemGroup>
90-
<Reference Include="CefSharp, Version=87.1.132.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
91-
<HintPath>..\packages\CefSharp.Common.87.1.132\lib\net452\CefSharp.dll</HintPath>
90+
<Reference Include="CefSharp, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
91+
<HintPath>..\packages\CefSharp.Common.88.2.90\lib\net452\CefSharp.dll</HintPath>
9292
<Private>True</Private>
9393
</Reference>
94-
<Reference Include="CefSharp.Core, Version=87.1.132.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
95-
<HintPath>..\packages\CefSharp.Common.87.1.132\lib\net452\CefSharp.Core.dll</HintPath>
94+
<Reference Include="CefSharp.Core, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
95+
<HintPath>..\packages\CefSharp.Common.88.2.90\lib\net452\CefSharp.Core.dll</HintPath>
9696
<Private>True</Private>
9797
</Reference>
98-
<Reference Include="CefSharp.OffScreen, Version=87.1.132.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
99-
<HintPath>..\packages\CefSharp.OffScreen.87.1.132\lib\net452\CefSharp.OffScreen.dll</HintPath>
98+
<Reference Include="CefSharp.OffScreen, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
99+
<HintPath>..\packages\CefSharp.OffScreen.88.2.90\lib\net452\CefSharp.OffScreen.dll</HintPath>
100100
<Private>True</Private>
101101
</Reference>
102102
<Reference Include="System" />
@@ -117,8 +117,8 @@
117117
<None Include="packages.config" />
118118
</ItemGroup>
119119
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
120-
<Import Project="..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.targets')" />
121120
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
122-
<CallTarget Targets="CefSharpAfterBuildDiagnostic"/>
121+
<CallTarget Targets="CefSharpAfterBuildDiagnostic" />
123122
</Target>
123+
<Import Project="..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.targets')" />
124124
</Project>

CefSharp.MinimalExample.OffScreen/CefSharp.MinimalExample.OffScreen.netcore.csproj

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,30 @@
77
<BaseOutputPath>bin.netcore\</BaseOutputPath>
88
</PropertyGroup>
99

10-
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
10+
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
1111

1212
<PropertyGroup>
1313
<OutputType>Exe</OutputType>
14-
<TargetFramework>netcoreapp3.1</TargetFramework>
14+
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
1515
<RootNamespace>CefSharp.MinimalExample.OffScreen</RootNamespace>
1616
<ApplicationManifest>app.manifest</ApplicationManifest>
1717
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
18-
<Platforms>x86;x64</Platforms>
18+
<Platforms>x86;x64;AnyCPU</Platforms>
19+
<!--
20+
Run on a newer version of .Net if the specified version (.Net Core 3.1) is not installed
21+
https://github.com/dotnet/docs/issues/12237
22+
-->
23+
<RollForward>Major</RollForward>
24+
</PropertyGroup>
25+
26+
<PropertyGroup Condition="'$(PlatformTarget)' == 'x86'">
27+
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x86</RuntimeIdentifier>
28+
<SelfContained Condition="'$(SelfContained)' == ''">false</SelfContained>
29+
</PropertyGroup>
30+
31+
<PropertyGroup Condition="'$(PlatformTarget)' == 'x64'">
32+
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x64</RuntimeIdentifier>
33+
<SelfContained Condition="'$(SelfContained)' == ''">false</SelfContained>
1934
</PropertyGroup>
2035

2136
<ItemGroup>
@@ -26,10 +41,14 @@
2641
<None Remove="bin\**" />
2742
<None Remove="obj\**" />
2843
</ItemGroup>
44+
45+
<ItemGroup>
46+
<None Remove="app.config" />
47+
</ItemGroup>
2948

3049
<ItemGroup>
31-
<PackageReference Include="CefSharp.OffScreen.NetCore" Version="87.1.132" />
50+
<PackageReference Include="CefSharp.OffScreen.NetCore" Version="88.2.90" />
3251
</ItemGroup>
3352

34-
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
53+
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
3554
</Project>

CefSharp.MinimalExample.OffScreen/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public static int Main(string[] args)
3636

3737
var dependencyCheck = true;
3838

39-
#if NETCOREAPP
40-
//This should be fixed shortly.
39+
#if NETCOREAPP || ANYCPU
40+
//For .Net Core/.Net 5 this should be fixed as part of https://github.com/cefsharp/CefSharp/issues/3388
4141
dependencyCheck = false;
4242
#endif
4343

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="cef.redist.x64" version="87.1.13" targetFramework="net452" />
4-
<package id="cef.redist.x86" version="87.1.13" targetFramework="net452" />
5-
<package id="CefSharp.Common" version="87.1.132" targetFramework="net452" />
6-
<package id="CefSharp.OffScreen" version="87.1.132" targetFramework="net452" />
3+
<package id="cef.redist.x64" version="88.2.9" targetFramework="net452" />
4+
<package id="cef.redist.x86" version="88.2.9" targetFramework="net452" />
5+
<package id="CefSharp.Common" version="88.2.90" targetFramework="net452" />
6+
<package id="CefSharp.OffScreen" version="88.2.90" targetFramework="net452" />
77
</packages>

CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.csproj

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.props')" />
4-
<Import Project="..\packages\cef.redist.x86.87.1.13\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.87.1.13\build\cef.redist.x86.props')" />
5-
<Import Project="..\packages\cef.redist.x64.87.1.13\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.87.1.13\build\cef.redist.x64.props')" />
3+
<Import Project="..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.props')" />
4+
<Import Project="..\packages\cef.redist.x86.88.2.9\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.88.2.9\build\cef.redist.x86.props')" />
5+
<Import Project="..\packages\cef.redist.x64.88.2.9\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.88.2.9\build\cef.redist.x64.props')" />
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
88
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -72,16 +72,16 @@
7272
<ApplicationManifest>app.manifest</ApplicationManifest>
7373
</PropertyGroup>
7474
<ItemGroup>
75-
<Reference Include="CefSharp, Version=87.1.132.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
76-
<HintPath>..\packages\CefSharp.Common.87.1.132\lib\net452\CefSharp.dll</HintPath>
75+
<Reference Include="CefSharp, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
76+
<HintPath>..\packages\CefSharp.Common.88.2.90\lib\net452\CefSharp.dll</HintPath>
7777
<Private>True</Private>
7878
</Reference>
79-
<Reference Include="CefSharp.Core, Version=87.1.132.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
80-
<HintPath>..\packages\CefSharp.Common.87.1.132\lib\net452\CefSharp.Core.dll</HintPath>
79+
<Reference Include="CefSharp.Core, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
80+
<HintPath>..\packages\CefSharp.Common.88.2.90\lib\net452\CefSharp.Core.dll</HintPath>
8181
<Private>True</Private>
8282
</Reference>
83-
<Reference Include="CefSharp.WinForms, Version=87.1.132.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
84-
<HintPath>..\packages\CefSharp.WinForms.87.1.132\lib\net452\CefSharp.WinForms.dll</HintPath>
83+
<Reference Include="CefSharp.WinForms, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
84+
<HintPath>..\packages\CefSharp.WinForms.88.2.90\lib\net452\CefSharp.WinForms.dll</HintPath>
8585
<Private>True</Private>
8686
</Reference>
8787
<Reference Include="System" />
@@ -141,8 +141,8 @@
141141
<None Include="Resources\chromium-256.png" />
142142
</ItemGroup>
143143
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
144-
<Import Project="..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.87.1.132\build\CefSharp.Common.targets')" />
145144
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
146-
<CallTarget Targets="CefSharpAfterBuildDiagnostic"/>
145+
<CallTarget Targets="CefSharpAfterBuildDiagnostic" />
147146
</Target>
147+
<Import Project="..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.targets')" />
148148
</Project>

CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.net472.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
<ApplicationManifest>app.manifest</ApplicationManifest>
1818
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1919
<Platforms>x86;x64</Platforms>
20-
<ProjectGuid>{1D1D63D1-5257-4AA0-A284-7EF4574878CB}</ProjectGuid>
20+
<ProjectGuid>{1D1D63D1-5257-4AA0-A284-7EF4574878CB}</ProjectGuid>
21+
<StartupObject>CefSharp.MinimalExample.WinForms.Program</StartupObject>
2122
</PropertyGroup>
2223

2324
<ItemGroup>
@@ -30,11 +31,11 @@
3031
</ItemGroup>
3132

3233
<ItemGroup>
33-
<PackageReference Include="CefSharp.WinForms" Version="87.1.132" />
34+
<PackageReference Include="CefSharp.WinForms" Version="88.2.90" />
3435
</ItemGroup>
3536

3637
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
37-
<CallTarget Targets="CefSharpAfterBuildDiagnostic"/>
38+
<CallTarget Targets="CefSharpAfterBuildDiagnostic" />
3839
</Target>
3940

4041
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />

CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.netcore.csproj

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,41 @@
1111

1212
<PropertyGroup>
1313
<OutputType>WinExe</OutputType>
14-
<TargetFramework>netcoreapp3.1</TargetFramework>
14+
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
1515
<UseWindowsForms>true</UseWindowsForms>
1616
<RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace>
1717
<ApplicationManifest>app.manifest</ApplicationManifest>
1818
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
19-
<Platforms>x86;x64</Platforms>
19+
<Platforms>x86;x64;AnyCPU</Platforms>
20+
<!--
21+
Run on a newer version of .Net if the specified version (.Net Core 3.1) is not installed
22+
https://github.com/dotnet/docs/issues/12237
23+
-->
24+
<RollForward>Major</RollForward>
25+
<StartupObject>CefSharp.MinimalExample.WinForms.Program</StartupObject>
26+
</PropertyGroup>
27+
28+
<!--
29+
.Net 5.0 Publish Settings for PublishSingleFile
30+
https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file
31+
Defaults differ compared to .Net Core 3.1
32+
-->
33+
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0-windows' AND '$(PublishSingleFile)' == 'true'">
34+
<!-- Extract all files to disk at runtime -->
35+
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
36+
<!-- Include our native files in the resulting exe -->
37+
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
38+
<StartupObject>CefSharp.MinimalExample.WinForms.ProgramPublishSingleFile</StartupObject>
39+
</PropertyGroup>
40+
41+
<PropertyGroup Condition="'$(PlatformTarget)' == 'x86'">
42+
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x86</RuntimeIdentifier>
43+
<SelfContained Condition="'$(SelfContained)' == ''">false</SelfContained>
44+
</PropertyGroup>
45+
46+
<PropertyGroup Condition="'$(PlatformTarget)' == 'x64'">
47+
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x64</RuntimeIdentifier>
48+
<SelfContained Condition="'$(SelfContained)' == ''">false</SelfContained>
2049
</PropertyGroup>
2150

2251
<ItemGroup>
@@ -29,8 +58,26 @@
2958
</ItemGroup>
3059

3160
<ItemGroup>
32-
<PackageReference Include="CefSharp.WinForms.NetCore" Version="87.1.132" />
61+
<None Remove="app.config" />
3362
</ItemGroup>
63+
64+
<ItemGroup>
65+
<PackageReference Include="CefSharp.WinForms.NetCore" Version="88.2.90" />
66+
</ItemGroup>
67+
68+
<Target Name="CefSharpAfterBuildDiagnostic" AfterTargets="AfterBuild">
69+
<Message Importance="high" Text="CefSharp After Build Diagnostic" />
70+
<Message Importance="high" Text="RuntimeIdentifier = $(RuntimeIdentifier)" />
71+
<Message Importance="high" Text="Platform = $(Platform)" />
72+
<Message Importance="high" Text="PlatformName = $(PlatformName)" />
73+
<Message Importance="high" Text="Platforms = $(Platforms)" />
74+
<Message Importance="high" Text="PlatformTarget = $(PlatformTarget)" />
75+
<Message Importance="high" Text="PlatformTargetAsMSBuildArchitecture = $(PlatformTargetAsMSBuildArchitecture)" />
76+
<Message Importance="high" Text="TargetFramework = $(TargetFramework)" />
77+
<Message Importance="high" Text="TargetFrameworkVersion = $(TargetFrameworkVersion)" />
78+
<Message Importance="high" Text="NuGetProjectStyle = $(NuGetProjectStyle)" />
79+
<Message Importance="high" Text="OutDir = $(OutDir)" />
80+
</Target>
3481

3582
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
3683
</Project>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright © 2021 The CefSharp Authors. All rights reserved.
2+
//
3+
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4+
5+
using CefSharp.WinForms;
6+
using System;
7+
using System.IO;
8+
using System.Windows.Forms;
9+
10+
namespace CefSharp.MinimalExample.WinForms
11+
{
12+
/// <summary>
13+
/// For .Net 5.0 Publishing Single File exe requires using your own applications executable to
14+
/// act as the BrowserSubProcess. See https://github.com/cefsharp/CefSharp/issues/3407
15+
/// for further details. <see cref="Program.Main(string[])"/> for the default main application entry point
16+
/// </summary>
17+
public class ProgramPublishSingleFile
18+
{
19+
[STAThread]
20+
public static int Main(string[] args)
21+
{
22+
//To support High DPI this must be before CefSharp.BrowserSubprocess.SelfHost.Main so the BrowserSubprocess is DPI Aware
23+
Cef.EnableHighDPISupport();
24+
25+
var exitCode = CefSharp.BrowserSubprocess.SelfHost.Main(args);
26+
27+
if (exitCode >= 0)
28+
{
29+
return exitCode;
30+
}
31+
32+
var settings = new CefSettings()
33+
{
34+
//By default CefSharp will use an in-memory cache, you need to specify a Cache Folder to persist data
35+
CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache"),
36+
BrowserSubprocessPath = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName
37+
};
38+
39+
//Example of setting a command line argument
40+
//Enables WebRTC
41+
// - CEF Doesn't currently support permissions on a per browser basis see https://bitbucket.org/chromiumembedded/cef/issues/2582/allow-run-time-handling-of-media-access
42+
// - CEF Doesn't currently support displaying a UI for media access permissions
43+
//
44+
//NOTE: WebRTC Device Id's aren't persisted as they are in Chrome see https://bitbucket.org/chromiumembedded/cef/issues/2064/persist-webrtc-deviceids-across-restart
45+
settings.CefCommandLineArgs.Add("enable-media-stream");
46+
//https://peter.sh/experiments/chromium-command-line-switches/#use-fake-ui-for-media-stream
47+
settings.CefCommandLineArgs.Add("use-fake-ui-for-media-stream");
48+
//For screen sharing add (see https://bitbucket.org/chromiumembedded/cef/issues/2582/allow-run-time-handling-of-media-access#comment-58677180)
49+
settings.CefCommandLineArgs.Add("enable-usermedia-screen-capturing");
50+
51+
//Don't perform a dependency check
52+
Cef.Initialize(settings, performDependencyCheck: false);
53+
54+
var browser = new BrowserForm();
55+
Application.Run(browser);
56+
57+
return 0;
58+
}
59+
}
60+
}

CefSharp.MinimalExample.WinForms/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public static int Main(string[] args)
4343

4444
var dependencyCheck = true;
4545

46-
#if NETCOREAPP
47-
//This should be fixed shortly.
46+
#if NETCOREAPP || ANYCPU
47+
//For .Net Core/.Net 5 this should be fixed as part of https://github.com/cefsharp/CefSharp/issues/3388
4848
dependencyCheck = false;
4949
#endif
5050

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="cef.redist.x64" version="87.1.13" targetFramework="net452" />
4-
<package id="cef.redist.x86" version="87.1.13" targetFramework="net452" />
5-
<package id="CefSharp.Common" version="87.1.132" targetFramework="net452" />
6-
<package id="CefSharp.WinForms" version="87.1.132" targetFramework="net452" />
3+
<package id="cef.redist.x64" version="88.2.9" targetFramework="net452" />
4+
<package id="cef.redist.x86" version="88.2.9" targetFramework="net452" />
5+
<package id="CefSharp.Common" version="88.2.90" targetFramework="net452" />
6+
<package id="CefSharp.WinForms" version="88.2.90" targetFramework="net452" />
77
</packages>

0 commit comments

Comments
 (0)