Skip to content

Commit c7f462c

Browse files
committed
<langversion>latest</langversion> on all projects
1 parent fd55bca commit c7f462c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/Directory.build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<LangVersion>Latest</LangVersion>
3+
<LangVersion>latest</LangVersion>
44
</PropertyGroup>
55
</Project>

src/Library.build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@
2424
<PackageLicenseUrl>https://github.com/elastic/elasticsearch-net/blob/master/license.txt</PackageLicenseUrl>
2525
<ReleaseNotes>See https://github.com/elastic/elasticsearch-net/releases</ReleaseNotes>
2626
<PackageIconUrl>https://raw.githubusercontent.com/elastic/elasticsearch-net/master/build/nuget-icon.png</PackageIconUrl>
27+
28+
<LangVersion>latest</LangVersion>
2729
</PropertyGroup>
2830
</Project>

src/PublishArtifacts.build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<Prefer32Bit>false</Prefer32Bit>
1515
<DebugSymbols>true</DebugSymbols>
1616
<DebugType>portable</DebugType>
17+
<LangVersion>latest</LangVersion>
1718

1819
<DoSourceLink></DoSourceLink>
1920
<SourceLink Condition="'$(DoSourceLink)'!=''">$(BaseIntermediateOutputPath)\sl-$(MsBuildProjectName)-$(TargetFramework).json</SourceLink>

0 commit comments

Comments
 (0)