Skip to content

Commit 520e597

Browse files
Merge pull request #2896 from SixLabors/af/fix-3.1-build
[3.1] Set LangVersion=12 unconditionally
2 parents 40643c1 + 80f73fb commit 520e597

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Directory.Build.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<!-- Import the shared global .props file -->
2222
<Import Project="$(MSBuildThisFileDirectory)shared-infrastructure\msbuild\props\SixLabors.Global.props" />
2323

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

2929
<!--

tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<IsTestProject>false</IsTestProject>
1212
<Configurations>Debug;Release</Configurations>
1313
<!-- Uncomment this to run benchmarks depending on Colorful or Pfim (colorspaces and TGA): -->
14-
<!--<SignAssembly>false</SignAssembly>-->
14+
<!--<SignAssembly>false</SignAssembly>-->
1515
</PropertyGroup>
1616

1717
<PropertyGroup>

0 commit comments

Comments
 (0)