mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
Updated to .NetCore 3.1
This commit is contained in:
parent
5feef6ef4a
commit
10ac706a05
@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp2.1;netcoreapp3.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
|
||||||
<RootNamespace>Capnp</RootNamespace>
|
<RootNamespace>Capnp</RootNamespace>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<Nullable>Enable</Nullable>
|
<Nullable>Enable</Nullable>
|
||||||
|
@ -47,9 +47,11 @@ namespace Capnp
|
|||||||
return thisDict.Remove(key);
|
return thisDict.Remove(key);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
#pragma warning disable CS8601
|
||||||
#pragma warning disable CS8714
|
#pragma warning disable CS8714
|
||||||
public static bool ReplacementTryRemove<K, V>(this Dictionary<K, V> thisDict, K key, out V value) => thisDict.Remove(key, out value);
|
public static bool ReplacementTryRemove<K, V>(this Dictionary<K, V> thisDict, K key, out V value) => thisDict.Remove(key, out value);
|
||||||
#pragma warning restore CS8714
|
#pragma warning restore CS8714
|
||||||
|
#pragma warning restore CS8601
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<RootNamespace>CapnpC</RootNamespace>
|
<RootNamespace>CapnpC</RootNamespace>
|
||||||
<LangVersion>7.1</LangVersion>
|
<LangVersion>7.1</LangVersion>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user