From a14f9d4b16ef6dfb1686f4024a5f8d3204c44305 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Wed, 16 Oct 2024 10:10:37 -0400 Subject: [PATCH] Add LangVersion:4 to project files --- FNA.Core.csproj | 1 + FNA.NetFramework.csproj | 1 + FNA.csproj | 1 + Makefile | 4 ++-- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/FNA.Core.csproj b/FNA.Core.csproj index 5d2e6796..5bf5df23 100644 --- a/FNA.Core.csproj +++ b/FNA.Core.csproj @@ -8,6 +8,7 @@ Microsoft.Xna.Framework true false + 4 $(SolutionDir)FNA.Settings.props diff --git a/FNA.NetFramework.csproj b/FNA.NetFramework.csproj index 079dc167..fce86aaa 100644 --- a/FNA.NetFramework.csproj +++ b/FNA.NetFramework.csproj @@ -9,6 +9,7 @@ Microsoft.Xna.Framework true false + 4 $(SolutionDir)FNA.Settings.props diff --git a/FNA.csproj b/FNA.csproj index 9ad05b38..84be250b 100644 --- a/FNA.csproj +++ b/FNA.csproj @@ -9,6 +9,7 @@ Library Microsoft.Xna.Framework FNA + 4 True diff --git a/Makefile b/Makefile index f01f75a3..2bddbf1c 100644 --- a/Makefile +++ b/Makefile @@ -342,7 +342,7 @@ RES = \ debug: clean-debug mkdir -p bin/Debug cp app.config bin/Debug/FNA.dll.config - mcs /unsafe -debug -define:DEBUG -out:bin/Debug/FNA.dll -target:library $(SRC) $(RES) + mcs /unsafe /langversion:4 -debug -define:DEBUG -out:bin/Debug/FNA.dll -target:library $(SRC) $(RES) clean-debug: rm -rf bin/Debug @@ -350,7 +350,7 @@ clean-debug: release: clean-release mkdir -p bin/Release cp app.config bin/Release/FNA.dll.config - mcs /unsafe -optimize -out:bin/Release/FNA.dll -target:library $(SRC) $(RES) + mcs /unsafe /langversion:4 -optimize -out:bin/Release/FNA.dll -target:library $(SRC) $(RES) clean-release: rm -rf bin/Release