From 07889ff317cf0340bd7e4f96600ea6efc6c9fc5d Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Wed, 18 Sep 2024 22:31:42 +0200 Subject: [PATCH] bump to net8-X --- .github/workflows/device-tests-android.yml | 2 +- .github/workflows/device-tests-ios.yml | 2 +- Directory.Build.props | 2 +- Directory.Build.targets | 2 +- samples/Directory.Build.props | 2 +- scripts/device-test.ps1 | 2 +- .../Sentry.Bindings.Android.csproj | 2 +- src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj | 6 +++--- src/Sentry.Maui/Sentry.Maui.csproj | 8 ++++---- src/Sentry/Sentry.csproj | 6 +++--- .../TestUtils.DeviceTests.Runners.csproj | 8 ++++---- .../DeviceTests/TestUtils.DeviceTests.csproj | 8 ++++---- .../Sentry.Android.AssemblyReader.Tests.csproj | 2 +- .../Sentry.Extensions.Logging.Tests.csproj | 6 +++--- .../Sentry.Maui.Device.TestApp.csproj | 4 ++-- test/Sentry.Maui.Tests/Sentry.Maui.Tests.csproj | 6 +++--- test/Sentry.Testing/Sentry.Testing.csproj | 6 +++--- test/Sentry.Tests/Sentry.Tests.csproj | 6 +++--- 18 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/device-tests-android.yml b/.github/workflows/device-tests-android.yml index 9cfd9ae645..cc3a93ea4f 100644 --- a/.github/workflows/device-tests-android.yml +++ b/.github/workflows/device-tests-android.yml @@ -39,7 +39,7 @@ jobs: with: name: device-test-android if-no-files-found: error - path: test/Sentry.Maui.Device.TestApp/bin/Release/net7.0-android/android-x64/io.sentry.dotnet.maui.device.testapp-Signed.apk + path: test/Sentry.Maui.Device.TestApp/bin/Release/net8.0-android/android-x64/io.sentry.dotnet.maui.device.testapp-Signed.apk android: needs: [build] diff --git a/.github/workflows/device-tests-ios.yml b/.github/workflows/device-tests-ios.yml index cf3db8c515..28895c5557 100644 --- a/.github/workflows/device-tests-ios.yml +++ b/.github/workflows/device-tests-ios.yml @@ -42,7 +42,7 @@ jobs: with: name: device-test-ios if-no-files-found: error - path: test/Sentry.Maui.Device.TestApp/bin/Release/net7.0-ios/iossimulator-x64/Sentry.Maui.Device.TestApp.app + path: test/Sentry.Maui.Device.TestApp/bin/Release/net8.0-ios/iossimulator-x64/Sentry.Maui.Device.TestApp.app ios: needs: [build] diff --git a/Directory.Build.props b/Directory.Build.props index 91781e8bbc..be1e0d1520 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -37,7 +37,7 @@ --> $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - 10.0 + 11.0 13.1 21.0 10.0.17763.0 diff --git a/Directory.Build.targets b/Directory.Build.targets index 321b0cd940..b9492a9fe5 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -6,7 +6,7 @@ --> $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - 10.0 + 11.0 13.1 21.0 10.0.17763.0 diff --git a/samples/Directory.Build.props b/samples/Directory.Build.props index 87af636244..2e6a7f9c0e 100644 --- a/samples/Directory.Build.props +++ b/samples/Directory.Build.props @@ -7,7 +7,7 @@ - + false diff --git a/scripts/device-test.ps1 b/scripts/device-test.ps1 index ff476b0eb8..d0409e50d1 100644 --- a/scripts/device-test.ps1 +++ b/scripts/device-test.ps1 @@ -21,7 +21,7 @@ $CI = Test-Path env:CI Push-Location $PSScriptRoot/.. try { - $tfm = 'net7.0-' + $tfm = 'net8.0-' $arch = (!$IsWindows -and $(uname -m) -eq 'arm64') ? 'arm64' : 'x64' if ($Platform -eq 'android') { diff --git a/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj b/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj index c851373a32..96c5fdba66 100644 --- a/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj +++ b/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj @@ -1,6 +1,6 @@ - net7.0-android + net8.0-android $(NoWarn);BG8605;BG8606 7.14.0 diff --git a/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj b/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj index 773c19feee..e9380973e4 100644 --- a/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj +++ b/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj @@ -1,9 +1,9 @@ - net7.0-ios;net7.0-maccatalyst - net7.0-ios - net7.0-maccatalyst + net8.0-ios;net8.0-maccatalyst + net8.0-ios + net8.0-maccatalyst true true .NET Bindings for the Sentry Cocoa SDK diff --git a/src/Sentry.Maui/Sentry.Maui.csproj b/src/Sentry.Maui/Sentry.Maui.csproj index 6c90db5d83..18958f2f3b 100644 --- a/src/Sentry.Maui/Sentry.Maui.csproj +++ b/src/Sentry.Maui/Sentry.Maui.csproj @@ -7,10 +7,10 @@ Target other platforms so we can include platform-specific code, and bundle native SDKs. --> net8.0;net7.0 - $(TargetFrameworks);net8.0-android;net7.0-android - $(TargetFrameworks);net8.0-ios;net7.0-ios - $(TargetFrameworks);net8.0-maccatalyst;net7.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0;net7.0-windows10.0.19041.0 + $(TargetFrameworks);net8.0-android + $(TargetFrameworks);net8.0-ios + $(TargetFrameworks);net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0