From 04194d1f0f947334c890d7490406359fad428961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=85=B0=EF=B8=8F=F0=9F=85=B0=EF=B8=8F=F0=9F=85=B0?= =?UTF-8?q?=EF=B8=8F1=EF=B8=8F=E2=83=A36=EF=B8=8F=E2=83=A32=EF=B8=8F?= =?UTF-8?q?=E2=83=A3=20=E2=9C=94=EF=B8=8F?= Date: Sat, 10 Jan 2026 01:31:19 -0600 Subject: [PATCH] rollback to .net8 to test app crashes --- APIs/MixItUp.API/MixItUp.API.csproj | 2 +- MixItUp.Base/MixItUp.Base.csproj | 2 +- MixItUp.Base/Util/ListExtensions.cs | 30 +++++++++---------- MixItUp.Reporter/MixItUp.Reporter.csproj | 2 +- .../MixItUp.SignalR.Client.csproj | 2 +- MixItUp.WPF/MixItUp.WPF.csproj | 2 +- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/APIs/MixItUp.API/MixItUp.API.csproj b/APIs/MixItUp.API/MixItUp.API.csproj index 8e5d95c2b..c67437935 100644 --- a/APIs/MixItUp.API/MixItUp.API.csproj +++ b/APIs/MixItUp.API/MixItUp.API.csproj @@ -1,7 +1,7 @@  - net10.0 + net8.0 enable enable MixItUp.API diff --git a/MixItUp.Base/MixItUp.Base.csproj b/MixItUp.Base/MixItUp.Base.csproj index 11035e2c0..878333470 100644 --- a/MixItUp.Base/MixItUp.Base.csproj +++ b/MixItUp.Base/MixItUp.Base.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 MixItUp.Base 1.6.0.0 1.6.0.0 diff --git a/MixItUp.Base/Util/ListExtensions.cs b/MixItUp.Base/Util/ListExtensions.cs index e9b95c044..5afdcca6e 100644 --- a/MixItUp.Base/Util/ListExtensions.cs +++ b/MixItUp.Base/Util/ListExtensions.cs @@ -38,21 +38,21 @@ public static void MoveDown(this IList list, T item) } } - //public static IEnumerable Shuffle(this IEnumerable list) - //{ - // Random random = new Random(); - // var l = new SortedList(); - // foreach (var i in list.ToArray()) - // { - // var key = random.Next(); - // while (l.ContainsKey(key)) - // { - // key = random.Next(); - // } - // l.Add(key, i); - // } - // return l.Values; - //} + public static IEnumerable Shuffle(this IEnumerable list) + { + Random random = new Random(); + var l = new SortedList(); + foreach (var i in list.ToArray()) + { + var key = random.Next(); + while (l.ContainsKey(key)) + { + key = random.Next(); + } + l.Add(key, i); + } + return l.Values; + } public static T RemoveFirst(this IList list) { diff --git a/MixItUp.Reporter/MixItUp.Reporter.csproj b/MixItUp.Reporter/MixItUp.Reporter.csproj index d995501ec..842021a69 100644 --- a/MixItUp.Reporter/MixItUp.Reporter.csproj +++ b/MixItUp.Reporter/MixItUp.Reporter.csproj @@ -1,7 +1,7 @@  - net10.0-windows + net8.0-windows win-x64 true WinExe diff --git a/MixItUp.SignalR.Client/MixItUp.SignalR.Client.csproj b/MixItUp.SignalR.Client/MixItUp.SignalR.Client.csproj index 2d04d4622..54af03da0 100644 --- a/MixItUp.SignalR.Client/MixItUp.SignalR.Client.csproj +++ b/MixItUp.SignalR.Client/MixItUp.SignalR.Client.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 MixItUp.SignalR.Client 1.6.0.0 1.6.0.0 diff --git a/MixItUp.WPF/MixItUp.WPF.csproj b/MixItUp.WPF/MixItUp.WPF.csproj index 896afb53f..b8eddf652 100644 --- a/MixItUp.WPF/MixItUp.WPF.csproj +++ b/MixItUp.WPF/MixItUp.WPF.csproj @@ -1,6 +1,6 @@  - net10.0-windows + net8.0-windows win-x64 true WinExe