Resolve Visual Studio build issues

Visual Studio defaults to a C# version of "latest major". Some of the new projects require C# 7.1 features.
This commit is contained in:
jduncanator 2019-10-22 14:09:49 +11:00
parent 2b5ec23aa7
commit 1772128ce0
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View File

@ -14,6 +14,7 @@
<PropertyGroup>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Release|AnyCPU'">