Skip to content

Commit

Permalink
Change C# language version to 13 instead of Latest
Browse files Browse the repository at this point in the history
Using LangVersion=Latest isn't recommended since an older compiler might not know about newer language features
  • Loading branch information
Sparronator9999 committed Dec 8, 2024
1 parent 73d12c7 commit 7444c01
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion YAMDCC.Config/YAMDCC.Config.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Authors>Sparronator9999</Authors>
<Copyright>Copyright © 2023-2024 Sparronator9999</Copyright>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<LangVersion>latest</LangVersion>
<LangVersion>13.0</LangVersion>
<OutputType>Library</OutputType>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
Expand Down
2 changes: 1 addition & 1 deletion YAMDCC.ECAccess/YAMDCC.ECAccess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Authors>Sparronator9999</Authors>
<Copyright>Copyright © 2023-2024 Sparronator9999</Copyright>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<LangVersion>latest</LangVersion>
<LangVersion>13.0</LangVersion>
<OutputType>Library</OutputType>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
Expand Down
2 changes: 1 addition & 1 deletion YAMDCC.GUI/YAMDCC.GUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Copyright>Copyright © 2023-2024 Sparronator9999</Copyright>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<LangVersion>latest</LangVersion>
<LangVersion>13.0</LangVersion>
<OutputType>WinExe</OutputType>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
2 changes: 1 addition & 1 deletion YAMDCC.IPC/YAMDCC.IPC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Copyright>Copyright © 2013 Andrew C. Dvorak, 2014-2018 ReliableHosting, 2020-2021 Twosense, 2023-2024 Sparronator9999</Copyright>
<Description>A simple, easy to use, strongly-typed wrapper around .NET named pipes, modified for MSI Fan Control.</Description>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<LangVersion>latest</LangVersion>
<LangVersion>13.0</LangVersion>
<OutputType>Library</OutputType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
Expand Down
2 changes: 1 addition & 1 deletion YAMDCC.Logs/YAMDCC.Logs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Authors>Sparronator9999</Authors>
<Copyright>Copyright © 2023-2024 Sparronator9999</Copyright>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<LangVersion>latest</LangVersion>
<LangVersion>13.0</LangVersion>
<OutputType>Library</OutputType>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
Expand Down
2 changes: 1 addition & 1 deletion YAMDCC.Service/YAMDCC.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Authors>Sparronator9999</Authors>
<Copyright>Copyright © 2023-2024 Sparronator9999</Copyright>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<LangVersion>latest</LangVersion>
<LangVersion>13.0</LangVersion>
<OutputType>WinExe</OutputType>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
Expand Down

0 comments on commit 7444c01

Please sign in to comment.