Skip to content

Commit 80f73fb

Browse files
committed
set v12 unconditionally and globally
1 parent d7e5810 commit 80f73fb

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
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
<!--

src/ImageSharp/ImageSharp.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<PackageTags>Image Resize Crop Gif Jpg Jpeg Bitmap Pbm Png Tga Tiff WebP NetCore</PackageTags>
1414
<Description>A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET</Description>
1515
<Configurations>Debug;Release</Configurations>
16-
<LangVersion>12.0</LangVersion>
1716
</PropertyGroup>
1817

1918
<!-- This enables the nullable analysis and treats all nullable warnings as error-->

tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<Configurations>Debug;Release</Configurations>
1313
<!-- Uncomment this to run benchmarks depending on Colorful or Pfim (colorspaces and TGA): -->
1414
<!--<SignAssembly>false</SignAssembly>-->
15-
<LangVersion>12.0</LangVersion>
1615
</PropertyGroup>
1716

1817
<PropertyGroup>

tests/ImageSharp.Tests.ProfilingSandbox/ImageSharp.Tests.ProfilingSandbox.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<EnsureNETCoreAppRuntime>false</EnsureNETCoreAppRuntime>
1515
<Configurations>Debug;Release</Configurations>
1616
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
17-
<LangVersion>12.0</LangVersion>
1817
</PropertyGroup>
1918

2019
<Choose>

tests/ImageSharp.Tests/ImageSharp.Tests.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<Platforms>AnyCPU;x64;x86;ARM64</Platforms>
88
<RootNamespace>SixLabors.ImageSharp.Tests</RootNamespace>
99
<Configurations>Debug;Release</Configurations>
10-
<LangVersion>12.0</LangVersion>
1110
</PropertyGroup>
1211

1312
<Choose>

0 commit comments

Comments
 (0)