Skip to content

Commit 5547fe9

Browse files
committed
Use a static C# lang version in Directory.Build.props
1 parent 65f8530 commit 5547fe9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
44

55
<PropertyGroup>
6-
<LangVersion>preview</LangVersion>
6+
<LangVersion>13.0</LangVersion>
7+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8+
<AnalysisLevel>9.0</AnalysisLevel>
79
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
810
<NoWarn>$(NoWarn);CS1591;NU5128</NoWarn>
911
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>

0 commit comments

Comments
 (0)