Skip to content

Commit 317fcd6

Browse files
committed
Set langversion to stop suggesting c#6 features
1 parent 3d566d9 commit 317fcd6

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/GitVersionCore/GitVersionCore.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<WarningLevel>4</WarningLevel>
2626
<DocumentationFile>bin\Debug\GitVersionCore.xml</DocumentationFile>
2727
<NoWarn>1591</NoWarn>
28+
<LangVersion>5</LangVersion>
2829
</PropertyGroup>
2930
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3031
<DebugType>pdbonly</DebugType>

src/GitVersionExe.Tests/GitVersionExe.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
23+
<LangVersion>5</LangVersion>
2324
</PropertyGroup>
2425
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2526
<DebugType>full</DebugType>

src/GitVersionExe/GitVersionExe.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<UseVSHostingProcess>false</UseVSHostingProcess>
2727
<DocumentationFile>bin\Debug\GitVersion.xml</DocumentationFile>
2828
<NoWarn>1591</NoWarn>
29+
<LangVersion>5</LangVersion>
2930
</PropertyGroup>
3031
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3132
<DebugType>pdbonly</DebugType>

src/GitVersionTask.Tests/GitVersionTask.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<ErrorReport>prompt</ErrorReport>
2525
<WarningLevel>4</WarningLevel>
2626
<Prefer32Bit>false</Prefer32Bit>
27+
<LangVersion>5</LangVersion>
2728
</PropertyGroup>
2829
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2930
<DebugType>full</DebugType>

src/GitVersionTask/GitVersionTask.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<WarningLevel>4</WarningLevel>
2525
<UseVSHostingProcess>false</UseVSHostingProcess>
2626
<NoWarn>1591</NoWarn>
27+
<LangVersion>5</LangVersion>
2728
</PropertyGroup>
2829
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2930
<DebugType>pdbonly</DebugType>

0 commit comments

Comments
 (0)