Ver Fonte

统一服务端c#语言版本为c#10

johnclot69 há 1 mês atrás
pai
commit
1791452de9

+ 1 - 0
DotNet/Core/DotNet.Core.csproj

@@ -6,6 +6,7 @@
         <Nullable>disable</Nullable>
         <AssemblyName>Core</AssemblyName>
         <RootNamespace>ET</RootNamespace>
+        <LangVersion>10</LangVersion>
     </PropertyGroup>
 
     <PropertyGroup>

+ 1 - 1
DotNet/ThirdParty/DotNet.ThirdParty.csproj

@@ -3,7 +3,7 @@
     <PropertyGroup>
         <TargetFramework>netstandard2.0</TargetFramework>
         <Nullable>disable</Nullable>
-        <LangVersion>9</LangVersion>
+        <LangVersion>10</LangVersion>
         <RootNamespace>ET</RootNamespace>
         <AssemblyName>ThirdParty</AssemblyName>
     </PropertyGroup>