From 7cf85a9c52c313183c19d4f9de3dc79728bfe515 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 22:18:11 +0000 Subject: [PATCH 1/2] Initial plan From 9db3b8a25d4e6b72ffb85fc79616dc6bf8a1d9df Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 22:26:25 +0000 Subject: [PATCH 2/2] Upgrade project to .NET 10 LTS Co-authored-by: Undermozes <58026189+Undermozes@users.noreply.github.com> --- .github/workflows/build.yml | 4 +-- .github/workflows/run_tests.yml | 2 +- Agent/Agent.csproj | 20 ++++++------- Desktop.Core/Desktop.Core.csproj | 12 ++++---- Desktop.Linux/Desktop.Linux.csproj | 2 +- Desktop.Native/Desktop.Native.csproj | 2 +- Desktop.Shared/Desktop.Shared.csproj | 10 +++---- Desktop.UI/Desktop.UI.csproj | 2 +- Desktop.Win/Desktop.Win.csproj | 4 +-- Server/Server.csproj | 28 +++++++++---------- Shared/Extensions/IEnumerableExtensions.cs | 9 ------ Shared/Shared.csproj | 8 +++--- .../Desktop.Win.Tests.csproj | 2 +- Tests/LoadTester/LoadTester.csproj | 2 +- Tests/Server.Tests/Server.Tests.csproj | 6 ++-- Tests/Shared.Tests/Shared.Tests.csproj | 2 +- 16 files changed, 53 insertions(+), 62 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0337eb3f9..e7ac2af3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 8 + dotnet-version: 10 - name: Setup NuGet.exe for use with actions uses: NuGet/setup-nuget@v2 @@ -104,7 +104,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 8 + dotnet-version: 10 # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - name: Setup MSBuild.exe diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index dedcfd456..d1c6819ee 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -34,7 +34,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 8 + dotnet-version: 10 # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - name: Setup MSBuild.exe diff --git a/Agent/Agent.csproj b/Agent/Agent.csproj index 612780706..6204bd4ac 100644 --- a/Agent/Agent.csproj +++ b/Agent/Agent.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 true false Copyright © 2023 Immense Networks @@ -22,19 +22,19 @@ - - - - - - - - + + + + + + + + - + diff --git a/Desktop.Core/Desktop.Core.csproj b/Desktop.Core/Desktop.Core.csproj index 63ee00b34..72cdac3c3 100644 --- a/Desktop.Core/Desktop.Core.csproj +++ b/Desktop.Core/Desktop.Core.csproj @@ -1,7 +1,7 @@  - .net8.0 + net10.0 Remotely.Desktop.Core Remotely_Desktop.Core AnyCPU;x64;x86 @@ -40,12 +40,12 @@ - - + + - - - + + + diff --git a/Desktop.Linux/Desktop.Linux.csproj b/Desktop.Linux/Desktop.Linux.csproj index 99e7e8fc6..9947e998d 100644 --- a/Desktop.Linux/Desktop.Linux.csproj +++ b/Desktop.Linux/Desktop.Linux.csproj @@ -1,7 +1,7 @@  Exe - net8.0 + net10.0 Assets\favicon.ico Remotely_Desktop AnyCPU;x64;x86 diff --git a/Desktop.Native/Desktop.Native.csproj b/Desktop.Native/Desktop.Native.csproj index 84d1cca2b..3bebf668d 100644 --- a/Desktop.Native/Desktop.Native.csproj +++ b/Desktop.Native/Desktop.Native.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable True diff --git a/Desktop.Shared/Desktop.Shared.csproj b/Desktop.Shared/Desktop.Shared.csproj index b63f08992..7d1afe3cf 100644 --- a/Desktop.Shared/Desktop.Shared.csproj +++ b/Desktop.Shared/Desktop.Shared.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable True @@ -15,10 +15,10 @@ - - - - + + + + diff --git a/Desktop.UI/Desktop.UI.csproj b/Desktop.UI/Desktop.UI.csproj index 0860146ae..57f2c75d7 100644 --- a/Desktop.UI/Desktop.UI.csproj +++ b/Desktop.UI/Desktop.UI.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable diff --git a/Desktop.Win/Desktop.Win.csproj b/Desktop.Win/Desktop.Win.csproj index 165307d11..506da0536 100644 --- a/Desktop.Win/Desktop.Win.csproj +++ b/Desktop.Win/Desktop.Win.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows + net10.0-windows Remotely_Desktop Assets\favicon.ico Desktop client for allowing your IT admin to provide remote support. @@ -58,7 +58,7 @@ - + \ No newline at end of file diff --git a/Server/Server.csproj b/Server/Server.csproj index 021d6262b..c2c85acff 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 aspnet-Server-F297B939-4A64-4B42-8C70-E142EBDAA131 Linux remotely @@ -18,29 +18,29 @@ - - - - - - - - + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + diff --git a/Shared/Extensions/IEnumerableExtensions.cs b/Shared/Extensions/IEnumerableExtensions.cs index f21c066e9..7fb8a3334 100644 --- a/Shared/Extensions/IEnumerableExtensions.cs +++ b/Shared/Extensions/IEnumerableExtensions.cs @@ -2,15 +2,6 @@ public static class IEnumerableExtensions { - public static async IAsyncEnumerable ToAsyncEnumerable(this IEnumerable source) - { - foreach (var item in source) - { - yield return item; - await Task.Yield(); - } - } - public static int IndexWhere(this IEnumerable source, Func predicate) { var index = 0; diff --git a/Shared/Shared.csproj b/Shared/Shared.csproj index a52965273..26a1332d0 100644 --- a/Shared/Shared.csproj +++ b/Shared/Shared.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 true AnyCPU;x64;x86 @@ -10,11 +10,11 @@ - - + + - + diff --git a/Tests/Desktop.Win.Tests/Desktop.Win.Tests.csproj b/Tests/Desktop.Win.Tests/Desktop.Win.Tests.csproj index 954efd9c3..013d3bd27 100644 --- a/Tests/Desktop.Win.Tests/Desktop.Win.Tests.csproj +++ b/Tests/Desktop.Win.Tests/Desktop.Win.Tests.csproj @@ -1,7 +1,7 @@  - .net8.0-windows + net10.0-windows enable enable diff --git a/Tests/LoadTester/LoadTester.csproj b/Tests/LoadTester/LoadTester.csproj index 9826e3571..4adce32b8 100644 --- a/Tests/LoadTester/LoadTester.csproj +++ b/Tests/LoadTester/LoadTester.csproj @@ -2,7 +2,7 @@ Exe - net8.0-windows + net10.0-windows Remotely.Tests.LoadTester diff --git a/Tests/Server.Tests/Server.Tests.csproj b/Tests/Server.Tests/Server.Tests.csproj index 1fc3ae748..fbb6515a8 100644 --- a/Tests/Server.Tests/Server.Tests.csproj +++ b/Tests/Server.Tests/Server.Tests.csproj @@ -1,15 +1,15 @@  - net8.0 + net10.0 false Remotely.Server.Tests AnyCPU;x64;x86 - - + + diff --git a/Tests/Shared.Tests/Shared.Tests.csproj b/Tests/Shared.Tests/Shared.Tests.csproj index 3858cd356..2a1434357 100644 --- a/Tests/Shared.Tests/Shared.Tests.csproj +++ b/Tests/Shared.Tests/Shared.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable false