File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <PackageTags >chinese;nlp;analysis;jieba;aot;GB18030</PackageTags >
1515 <IsAotCompatible Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))" >true</IsAotCompatible >
1616 <Nullable >enable</Nullable >
17- <LangVersion >latest</LangVersion >
17+ <LangVersion >14.0</LangVersion >
18+ <ImplicitUsings >enable</ImplicitUsings >
19+ <RestoreProjectStyle >PackageReference</RestoreProjectStyle >
20+ <!-- PolySharp 配置:启用所有 C# 14 特性 -->
21+ <PolySharpIncludeRuntimeSupportedAttributes >true</PolySharpIncludeRuntimeSupportedAttributes >
22+ <PolySharpUseEmbeddedAttributeForGeneratedTypes >true</PolySharpUseEmbeddedAttributeForGeneratedTypes >
23+ <PolySharpUsePublicAccessibilityForGeneratedTypes >false</PolySharpUsePublicAccessibilityForGeneratedTypes >
24+ <PolySharpUseInteropServices2NamespaceForUnmanagedCallersOnlyAttribute >true</PolySharpUseInteropServices2NamespaceForUnmanagedCallersOnlyAttribute >
25+ <PolySharpExcludeTypeForwardedToDeclarations >false</PolySharpExcludeTypeForwardedToDeclarations >
1826 </PropertyGroup >
1927
2028 <PropertyGroup Condition =" !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))" >
2533 <!-- .NET Standard 2.1、.NET Standard 2.0 与 .NET Framework 4.8 配置 -->
2634 <!-- System.Text.Json会间接引用Microsoft.Bcl.AsyncInterfaces,所以不用单独引用 -->
2735 <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'net48'" >
28- <PackageReference Include =" PolySharp" Version =" 1.15 .0" >
36+ <PackageReference Include =" PolySharp" Version =" 1.16 .0" >
2937 <PrivateAssets >all</PrivateAssets >
3038 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
3139 </PackageReference >
You can’t perform that action at this time.
0 commit comments