Skip to content

Commit 002c49b

Browse files
committed
OutOfProcess - Target netstandard 2.0
1 parent 4a1d718 commit 002c49b

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

lib/PuppeteerSharp/CefSharp.Dom.OutOfProcess.csproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
4+
<TargetFramework>netstandard2.0</TargetFramework>
55
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
66
<CodeAnalysisRuleSet>../CefSharp.Dom.ruleset</CodeAnalysisRuleSet>
77
<AssemblyName>CefSharp.Dom.OutOfProcess</AssemblyName>
@@ -18,19 +18,15 @@
1818
<Compile Remove="WebBrowserExtensions.cs" />
1919
</ItemGroup>
2020

21-
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
22-
<Reference Include="System.Net.Http" />
23-
</ItemGroup>
24-
2521
<ItemGroup>
2622
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
2723
<PrivateAssets>all</PrivateAssets>
2824
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2925
</PackageReference>
3026
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.0.2" />
31-
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
27+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
3228
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.0" />
33-
<PackageReference Include="SharpZipLib" Version="1.3.3" />
29+
<PackageReference Include="SharpZipLib" Version="1.4.2" />
3430
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
3531
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
3632
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

lib/PuppeteerSharp/Helpers/DictionaryExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static Dictionary<TKey, TValue> Clone<TKey, TValue>(this Dictionary<TKey,
2121
return dic.ToDictionary(entry => entry.Key, entry => entry.Value);
2222
}
2323

24-
#if NETFRAMEWORK
24+
#if NETFRAMEWORK || NETSTANDARD2_0
2525
/// <summary>
2626
/// GetValue or default
2727
/// </summary>

0 commit comments

Comments
 (0)