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>
<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 -->
<LangVersion>10.0</LangVersion>
<LangVersion>12.0</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);CS1591;SA0001</NoWarn>
<Nullable>enable</Nullable>

View File

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

View File

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