Bump `<LangVersion/>` for satellite .NET projects

This commit is contained in:
YoshiRulz 2024-05-30 10:23:10 +10:00
parent 7a959ffb55
commit a1256782fc
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,7 @@
<Features>strict</Features> <Features>strict</Features>
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework> <IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <!-- it would be nice to rename these to *.api_reference.xml or something, but it seems https://github.com/dotnet/standard/issues/614 was never fixed --> <GenerateDocumentationFile>true</GenerateDocumentationFile> <!-- it would be nice to rename these to *.api_reference.xml or something, but it seems https://github.com/dotnet/standard/issues/614 was never fixed -->
<LangVersion>10.0</LangVersion> <LangVersion>12.0</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);CS1591;SA0001</NoWarn> <NoWarn>$(NoWarn);CS1591;SA0001</NoWarn>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>

View File

@ -6,7 +6,6 @@
<PropertyGroup> <PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<LangVersion>12</LangVersion>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -4,7 +4,6 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<DebugType>embedded</DebugType> <DebugType>embedded</DebugType>
<DefineConstants>$(DefineConstants);AVI_SUPPORT</DefineConstants> <DefineConstants>$(DefineConstants);AVI_SUPPORT</DefineConstants>
<LangVersion>12.0</LangVersion>
<NoWarn>$(NoWarn);CS1573;NU1702</NoWarn> <NoWarn>$(NoWarn);CS1573;NU1702</NoWarn>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup> </PropertyGroup>