Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit a505a3b

Browse files
committed
Merge pull request #2431 from stephentoub/disablecs6
Disable C# 6 features until CI/build system updated
2 parents 4a8181b + 72f9ff9 commit a505a3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dir.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@
198198
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
199199
</PropertyGroup>
200200

201+
<!-- Temporary until build/CI system is upgraded to C# 6: disable C# 6 features -->
202+
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.csproj' OR '$(Language)' == 'C#'">
203+
<LangVersion>5</LangVersion>
204+
</PropertyGroup>
205+
201206
<!-- Set up some common paths -->
202207
<PropertyGroup>
203208
<CommonPath>$(SourceDir)Common\src</CommonPath>

0 commit comments

Comments
 (0)