From 1772128ce0fc058e6280001aace3a77a7a96897b Mon Sep 17 00:00:00 2001
From: jduncanator <jduncanator@hotmail.com>
Date: Tue, 22 Oct 2019 14:09:49 +1100
Subject: [PATCH] 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.
---
 ARMeilleure/ARMeilleure.csproj     | 1 +
 Ryujinx.Tests/Ryujinx.Tests.csproj | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ARMeilleure/ARMeilleure.csproj b/ARMeilleure/ARMeilleure.csproj
index 9268dcbee1..15e5c0274b 100644
--- a/ARMeilleure/ARMeilleure.csproj
+++ b/ARMeilleure/ARMeilleure.csproj
@@ -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'">
diff --git a/Ryujinx.Tests/Ryujinx.Tests.csproj b/Ryujinx.Tests/Ryujinx.Tests.csproj
index 9608422e52..52832d868b 100644
--- a/Ryujinx.Tests/Ryujinx.Tests.csproj
+++ b/Ryujinx.Tests/Ryujinx.Tests.csproj
@@ -14,6 +14,7 @@
 
   <PropertyGroup>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+    <LangVersion>latest</LangVersion>
   </PropertyGroup>
 
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Release|AnyCPU'">