Skip to content

Commit 27d43c1

Browse files
committed
Update C# language version to 14.0 in test project
Changed the LangVersion property from 'preview' to '14.0' in the CommunityToolkit.Mvvm.Roslyn5000.UnitTests.csproj file to explicitly target C# 14.0 for test builds.
1 parent ab4e3c2 commit 27d43c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CommunityToolkit.Mvvm.Roslyn5000.UnitTests/CommunityToolkit.Mvvm.Roslyn5000.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
5-
<LangVersion>preview</LangVersion>
5+
<LangVersion>14.0</LangVersion>
66
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
77
<DefineConstants>$(DefineConstants);ROSLYN_4_12_0_OR_GREATER;ROSLYN_5_0_0_OR_GREATER</DefineConstants>
88

0 commit comments

Comments
 (0)