From 6607a5f48caa92e3c6edfc04f1e7cc56f49fb52a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 29 Mar 2023 23:31:30 +0200 Subject: [PATCH] net7.0 --- Demos.Android/Activity1.cs | 4 ++-- Demos.Android/Demos.Android.csproj | 3 ++- Demos.DesktopGL/Demos.DesktopGL.FNA.csproj | 2 +- Demos.DesktopGL/Demos.DesktopGL.csproj | 2 +- MLEM.Data/MLEM.Data.FNA.csproj | 2 +- MLEM.Data/MLEM.Data.csproj | 2 +- MLEM.Extended/MLEM.Extended.FNA.csproj | 2 +- MLEM.Extended/MLEM.Extended.csproj | 2 +- MLEM.Startup/MLEM.Startup.FNA.csproj | 2 +- MLEM.Startup/MLEM.Startup.csproj | 2 +- MLEM.Templates/MLEM.Templates.csproj | 2 +- MLEM.Ui/MLEM.Ui.FNA.csproj | 2 +- MLEM.Ui/MLEM.Ui.csproj | 2 +- MLEM/MLEM.FNA.csproj | 2 +- MLEM/MLEM.csproj | 2 +- Sandbox/Sandbox.csproj | 2 +- Tests/Tests.FNA.csproj | 2 +- Tests/Tests.csproj | 10 +++++----- 18 files changed, 24 insertions(+), 23 deletions(-) diff --git a/Demos.Android/Activity1.cs b/Demos.Android/Activity1.cs index af0713d..1521e39 100644 --- a/Demos.Android/Activity1.cs +++ b/Demos.Android/Activity1.cs @@ -48,10 +48,10 @@ public class Activity1 : AndroidGameActivity { base.OnWindowFocusChanged(hasFocus); // hide the status bar if (hasFocus) { -#pragma warning disable CS0618 +#pragma warning disable CA1422 // TODO this is deprecated, find out how to replace it this.Window.DecorView.SystemUiVisibility = (StatusBarVisibility) (SystemUiFlags.ImmersiveSticky | SystemUiFlags.LayoutStable | SystemUiFlags.LayoutHideNavigation | SystemUiFlags.LayoutFullscreen | SystemUiFlags.HideNavigation | SystemUiFlags.Fullscreen); -#pragma warning restore CS0618 +#pragma warning restore CA1422 } } diff --git a/Demos.Android/Demos.Android.csproj b/Demos.Android/Demos.Android.csproj index fa74022..c915abd 100644 --- a/Demos.Android/Demos.Android.csproj +++ b/Demos.Android/Demos.Android.csproj @@ -1,11 +1,12 @@ - net6.0-android + net7.0-android 31 Exe de.ellpeck.mlem.demos.android 100 1.0.0 + false false false diff --git a/Demos.DesktopGL/Demos.DesktopGL.FNA.csproj b/Demos.DesktopGL/Demos.DesktopGL.FNA.csproj index b4af8c8..8129d37 100644 --- a/Demos.DesktopGL/Demos.DesktopGL.FNA.csproj +++ b/Demos.DesktopGL/Demos.DesktopGL.FNA.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 Icon.ico MLEM Desktop Demos Demos.DesktopGL diff --git a/Demos.DesktopGL/Demos.DesktopGL.csproj b/Demos.DesktopGL/Demos.DesktopGL.csproj index d53a9bc..f861a8c 100644 --- a/Demos.DesktopGL/Demos.DesktopGL.csproj +++ b/Demos.DesktopGL/Demos.DesktopGL.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 Icon.ico MLEM Desktop Demos false diff --git a/MLEM.Data/MLEM.Data.FNA.csproj b/MLEM.Data/MLEM.Data.FNA.csproj index c17deef..ddb40ad 100644 --- a/MLEM.Data/MLEM.Data.FNA.csproj +++ b/MLEM.Data/MLEM.Data.FNA.csproj @@ -1,6 +1,6 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM.Data/MLEM.Data.csproj b/MLEM.Data/MLEM.Data.csproj index f3cadc2..7581021 100644 --- a/MLEM.Data/MLEM.Data.csproj +++ b/MLEM.Data/MLEM.Data.csproj @@ -1,6 +1,6 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM.Extended/MLEM.Extended.FNA.csproj b/MLEM.Extended/MLEM.Extended.FNA.csproj index 96cd437..9a40f9a 100644 --- a/MLEM.Extended/MLEM.Extended.FNA.csproj +++ b/MLEM.Extended/MLEM.Extended.FNA.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net6.0 + netstandard2.0;net7.0 true true true diff --git a/MLEM.Extended/MLEM.Extended.csproj b/MLEM.Extended/MLEM.Extended.csproj index 093d0ae..424e8a0 100644 --- a/MLEM.Extended/MLEM.Extended.csproj +++ b/MLEM.Extended/MLEM.Extended.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net6.0 + netstandard2.0;net7.0 true true true diff --git a/MLEM.Startup/MLEM.Startup.FNA.csproj b/MLEM.Startup/MLEM.Startup.FNA.csproj index 13360f8..1964dec 100644 --- a/MLEM.Startup/MLEM.Startup.FNA.csproj +++ b/MLEM.Startup/MLEM.Startup.FNA.csproj @@ -1,7 +1,7 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM.Startup/MLEM.Startup.csproj b/MLEM.Startup/MLEM.Startup.csproj index ff911d7..93ba48b 100644 --- a/MLEM.Startup/MLEM.Startup.csproj +++ b/MLEM.Startup/MLEM.Startup.csproj @@ -1,7 +1,7 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM.Templates/MLEM.Templates.csproj b/MLEM.Templates/MLEM.Templates.csproj index 84edf68..aaff4cf 100644 --- a/MLEM.Templates/MLEM.Templates.csproj +++ b/MLEM.Templates/MLEM.Templates.csproj @@ -1,7 +1,7 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true false content diff --git a/MLEM.Ui/MLEM.Ui.FNA.csproj b/MLEM.Ui/MLEM.Ui.FNA.csproj index 0789a7c..196dcf9 100644 --- a/MLEM.Ui/MLEM.Ui.FNA.csproj +++ b/MLEM.Ui/MLEM.Ui.FNA.csproj @@ -1,6 +1,6 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM.Ui/MLEM.Ui.csproj b/MLEM.Ui/MLEM.Ui.csproj index 2bd4575..36c56ec 100644 --- a/MLEM.Ui/MLEM.Ui.csproj +++ b/MLEM.Ui/MLEM.Ui.csproj @@ -1,6 +1,6 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM/MLEM.FNA.csproj b/MLEM/MLEM.FNA.csproj index 42cf5cb..9111eca 100644 --- a/MLEM/MLEM.FNA.csproj +++ b/MLEM/MLEM.FNA.csproj @@ -1,6 +1,6 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/MLEM/MLEM.csproj b/MLEM/MLEM.csproj index 5d995d4..81bb649 100644 --- a/MLEM/MLEM.csproj +++ b/MLEM/MLEM.csproj @@ -1,6 +1,6 @@  - net452;netstandard2.0;net6.0 + net452;netstandard2.0;net7.0 true true true diff --git a/Sandbox/Sandbox.csproj b/Sandbox/Sandbox.csproj index 27c1510..ec2d3f8 100644 --- a/Sandbox/Sandbox.csproj +++ b/Sandbox/Sandbox.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 false diff --git a/Tests/Tests.FNA.csproj b/Tests/Tests.FNA.csproj index cf31329..652c0f7 100644 --- a/Tests/Tests.FNA.csproj +++ b/Tests/Tests.FNA.csproj @@ -1,6 +1,6 @@ - net6.0 + net7.0 nunit TestResults.FNA Tests diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index f2f1f99..1eeadef 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,11 +1,11 @@ - net6.0 + net7.0 nunit TestResults false - + @@ -13,12 +13,12 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -28,7 +28,7 @@ - + PreserveNewest