From 8145bd1e4ab5dccaef0ffc112e0f237993db4288 Mon Sep 17 00:00:00 2001 From: Juster Zhu Date: Mon, 27 Nov 2023 00:06:34 +0800 Subject: [PATCH] remove: Remove support for platforms other than Android --- .github/workflows/dotnet-ci.yaml | 4 ++-- src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj | 4 ++-- .../GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj | 5 +---- src/c#/TestMauiApp/TestMauiApp.csproj | 5 +---- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dotnet-ci.yaml b/.github/workflows/dotnet-ci.yaml index 60f54a3..2780fad 100644 --- a/.github/workflows/dotnet-ci.yaml +++ b/.github/workflows/dotnet-ci.yaml @@ -9,9 +9,9 @@ jobs: steps: - uses: actions/checkout@v1 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Install .NET MAUI run: dotnet workload install maui - name: Restore dependencies diff --git a/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj b/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj index 8fb2d19..30dc71e 100644 --- a/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj +++ b/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj @@ -1,8 +1,8 @@ - net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst - $(TargetFrameworks);net7.0-windows10.0.19041.0 + net8.0;net8.0-maccatalyst;net8.0-ios;net8.0-android + $(TargetFrameworks);net8.0-windows10.0.22621.0 true diff --git a/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj b/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj index e2d03fa..b9b8897 100644 --- a/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj +++ b/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj @@ -1,10 +1,7 @@  - net7.0-maccatalyst;net7.0-android33.0 - $(TargetFrameworks);net7.0-windows10.0.19041.0 - - + net8.0-android Exe GeneralUpdate.OSSClient true diff --git a/src/c#/TestMauiApp/TestMauiApp.csproj b/src/c#/TestMauiApp/TestMauiApp.csproj index 7781949..ed78a0b 100644 --- a/src/c#/TestMauiApp/TestMauiApp.csproj +++ b/src/c#/TestMauiApp/TestMauiApp.csproj @@ -1,10 +1,7 @@  - net7.0-android;net7.0-ios;net7.0-maccatalyst - $(TargetFrameworks);net7.0-windows10.0.19041.0 - - + net8.0-android Exe TestMauiApp true -- Gitee