diff --git a/.github/workflows/NewsReader.CI.yml b/.github/workflows/NewsReader.CI.yml index 46e75173..74662117 100644 --- a/.github/workflows/NewsReader.CI.yml +++ b/.github/workflows/NewsReader.CI.yml @@ -22,7 +22,7 @@ jobs: - name: ⚙️ Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '8' + dotnet-version: '9' - name: ⚙️ Install .NET MAUI run: dotnet workload install maui android @@ -30,7 +30,7 @@ jobs: - name: 🛠️ Build run: | cd src/NewsReader/NewsReader.MauiSystem - dotnet publish -f:net8.0-android -c:Release -p:ApplicationVersion=${{ needs.GetVersion.outputs.versionCode }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} + dotnet publish -f:net9.0-android -c:Release -p:ApplicationVersion=${{ needs.GetVersion.outputs.versionCode }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} - name: 📦 Upload AAB, APK uses: actions/upload-artifact@v4 @@ -51,7 +51,7 @@ jobs: - name: ⚙️ Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '8' + dotnet-version: '9' - name: ⚙️ Install .NET MAUI run: dotnet workload install maui @@ -60,7 +60,7 @@ jobs: # -p:ApplicationVersion=0 because of https://github.com/dotnet/maui/issues/18571 run: | cd src/NewsReader/NewsReader.MauiSystem - dotnet publish -f:net8.0-windows10.0.19041.0 -c:Release -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationVersion=0 + dotnet publish -f:net9.0-windows10.0.19041.0 -c:Release -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationVersion=0 iOS: runs-on: macos-14 @@ -71,14 +71,14 @@ jobs: - name: ⚙️ Set Xcode version run: | - XCODE_ROOT=/Applications/Xcode_15.4.app + XCODE_ROOT=/Applications/Xcode_16.1.app echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV # set environment variable to specify Xcode for Mono and Xamarin sudo xcode-select -s $XCODE_ROOT - name: ⚙️ Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '8' + dotnet-version: '9' - name: ⚙️ Install .NET MAUI run: dotnet workload install maui ios @@ -86,7 +86,7 @@ jobs: - name: 🛠️ Build run: | cd src/NewsReader/NewsReader.MauiSystem - dotnet build -f net8.0-ios -c:Release /p:packageApp=false /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} + dotnet build -f net9.0-ios -c:Release /p:packageApp=false /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} Test: runs-on: windows-2022 diff --git a/src/NewsReader/Directory.Build.props b/src/NewsReader/Directory.Build.props index 2bc3f987..36c54a88 100644 --- a/src/NewsReader/Directory.Build.props +++ b/src/NewsReader/Directory.Build.props @@ -1,6 +1,6 @@  - 8.0.93 + 9.0.21 en enable diff --git a/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj b/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj index 1125d02e..ea4315b1 100644 --- a/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj +++ b/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 Test.NewsReader.Applications Test.NewsReader.Applications diff --git a/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj b/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj index 22684f23..9a1b781d 100644 --- a/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj +++ b/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 Waf.NewsReader.Applications Waf.NewsReader.Applications diff --git a/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj b/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj index 909cb407..a0416dd4 100644 --- a/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj +++ b/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 Test.NewsReader.Domain Test.NewsReader.Domain diff --git a/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj b/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj index ad4c82c4..9a71c08e 100644 --- a/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj +++ b/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 Waf.NewsReader.Domain Waf.NewsReader.Domain diff --git a/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj b/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj index 5579ac80..2c12f057 100644 --- a/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj +++ b/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj @@ -1,7 +1,7 @@  - net8.0-android;net8.0-ios - $(TargetFrameworks);net8.0-windows10.0.19041.0 + net9.0-android;net9.0-ios + $(TargetFrameworks);net9.0-windows10.0.19041.0 Exe Waf.NewsReader.MauiSystem true @@ -18,7 +18,7 @@ 1.0 1 - 14.2 + 15.0 21.0 10.0.17763.0 10.0.17763.0 @@ -29,7 +29,6 @@ - diff --git a/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj b/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj index cf7bac24..45319c62 100644 --- a/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj +++ b/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 Test.NewsReader.Presentation Test.NewsReader.Presentation diff --git a/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj b/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj index 897c4117..270b93c9 100644 --- a/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj +++ b/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj @@ -1,12 +1,12 @@  - net8.0;net8.0-android;net8.0-ios - $(TargetFrameworks);net8.0-windows10.0.19041.0 + net9.0;net9.0-android;net9.0-ios + $(TargetFrameworks);net9.0-windows10.0.19041.0 Waf.NewsReader.Presentation true true - 14.2 + 15.0 21.0 10.0.17763.0 10.0.17763.0 @@ -14,12 +14,11 @@ - - +