Skip to content

Commit

Permalink
Merge pull request #2896 from SixLabors/af/fix-3.1-build
Browse files Browse the repository at this point in the history
[3.1] Set LangVersion=12 unconditionally
  • Loading branch information
JimBobSquarePants authored Mar 4, 2025
2 parents 40643c1 + 80f73fb commit 520e597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<!-- Import the shared global .props file -->
<Import Project="$(MSBuildThisFileDirectory)shared-infrastructure\msbuild\props\SixLabors.Global.props" />

<PropertyGroup Condition="$(SIXLABORS_TESTING_PREVIEW) == true">
<PropertyGroup>
<!-- Workaround various issues bound to implicit language features. -->
<LangVersion>preview</LangVersion>
<LangVersion>12.0</LangVersion>
</PropertyGroup>

<!--
Expand Down
2 changes: 1 addition & 1 deletion tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<IsTestProject>false</IsTestProject>
<Configurations>Debug;Release</Configurations>
<!-- Uncomment this to run benchmarks depending on Colorful or Pfim (colorspaces and TGA): -->
<!--<SignAssembly>false</SignAssembly>-->
<!--<SignAssembly>false</SignAssembly>-->
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 520e597

Please sign in to comment.