Skip to content

Commit 4f5f5c3

Browse files
committed
Use recommended Compiler options
- Features: Strict Setting this ensures that we won't fall into compiler bugs when using latest features. - LangVersion: Latest Setting this ensures that we always compile against latest version against the using SDK.
1 parent 458f916 commit 4f5f5c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/Toolkit.Common.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
</PropertyGroup>
88

99
<PropertyGroup Label="Compile">
10+
<Features>Strict</Features>
1011
<Nullable>Enable</Nullable>
11-
<LangVersion>11.0</LangVersion>
12+
<LangVersion>Latest</LangVersion>
1213
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1314
</PropertyGroup>
1415

0 commit comments

Comments
 (0)