Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d2c4358
.net10 tests for Android
jamescrosswell Nov 19, 2025
5e9fdcb
.
jamescrosswell Nov 19, 2025
f99a711
.
jamescrosswell Nov 20, 2025
5b7fbc3
.
jamescrosswell Nov 20, 2025
d40c030
Testing a theory...
jamescrosswell Nov 26, 2025
344c80a
Try to prevent double crash
jamescrosswell Nov 27, 2025
b8d6c02
Revert "Try to prevent double crash"
jamescrosswell Nov 27, 2025
241a908
Ensure JavaSDK is shutdown when closing the Hub
jamescrosswell Nov 27, 2025
a773aa5
Merge branch 'main' into net10_integration_tests
jamescrosswell Nov 27, 2025
278c04c
Remove todo from previously failing test
jamescrosswell Nov 27, 2025
ad9c671
Try System.Environment.Exit(0) instead of process.kill
jamescrosswell Nov 27, 2025
429801b
roll back unrelated change
jamescrosswell Nov 28, 2025
cf16076
reinstate null reference workaround for net9 tfm
jamescrosswell Nov 28, 2025
0889735
Revert change from kill to System.Environment.Exit
jamescrosswell Nov 28, 2025
c1b3e7c
Skip the Native Crash integration test on net10
jamescrosswell Nov 28, 2025
0adaddb
.
jamescrosswell Nov 30, 2025
1361614
Revert fix to close Java SDK until we can work out why it breaks unit…
jamescrosswell Dec 1, 2025
ed8b558
.
jamescrosswell Dec 1, 2025
7674108
Merge remote-tracking branch 'upstream/main' into net10_integration_t…
jpnurmi Jan 19, 2026
5fdc832
Revert NRE test changes (#3954 was not fixed, yet)
jpnurmi Jan 19, 2026
5d27b34
Use InvokeSentryResult::Events()
jpnurmi Jan 19, 2026
cce63e9
Unskip native crash test for net10.0
jpnurmi Jan 19, 2026
3f5f227
Update target frameworks for iOS in project file
jamescrosswell Jan 19, 2026
2f798fd
Make target platform version conditional for ios
jamescrosswell Jan 19, 2026
00c6767
.
jamescrosswell Jan 20, 2026
461ff9b
Review feedback
jamescrosswell Jan 23, 2026
03cdd74
Merge remote-tracking branch 'origin/main' into net10_integration_tests
jamescrosswell Jan 23, 2026
c8d7051
Merge remote-tracking branch 'origin/main' into net10_integration_tests
jamescrosswell Feb 1, 2026
91da55f
Merge branch 'main' into net10_integration_tests
jamescrosswell Feb 3, 2026
130e51a
Unpin the target platform version for ios in the device test app
jamescrosswell Feb 3, 2026
1309078
.
jamescrosswell Feb 4, 2026
b38c497
Drop net9.0 device/integration tests
jamescrosswell Feb 4, 2026
edcc792
Remove side effects from common.ps1
jamescrosswell Feb 5, 2026
68db72f
Revert behaviour change to cli and runtime integration tests
jamescrosswell Feb 5, 2026
3b5ea8d
Spinning in circles now...
jamescrosswell Feb 5, 2026
4580fe2
.
jamescrosswell Feb 5, 2026
7f66cda
msbuild
jamescrosswell Feb 5, 2026
af39bb7
.
jamescrosswell Feb 5, 2026
8ce560c
.
jamescrosswell Feb 5, 2026
30cd0f6
error NU1510: Warning As Error: PackageReference System.Private.Uri w…
jamescrosswell Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ runs:
global-json-file: global.json
dotnet-version: |
8.0.x
9.0.304
9.0.310

# .NET 5.0 does not support ARM64 on macOS
- name: Install .NET 5.0 SDK
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/device-tests-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tfm: [net9.0]
tfm: [net9.0, net10.0]
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
Expand All @@ -40,13 +40,12 @@ jobs:
- name: Build Android Test App
run: pwsh ./scripts/device-test.ps1 android -Build -Tfm ${{ matrix.tfm }}

- name: Upload Android Test App (net9.0)
if: matrix.tfm == 'net9.0'
- name: Upload Android Test App (${{ matrix.tfm }})
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: device-test-android-net9.0
name: device-test-android-${{ matrix.tfm }}
if-no-files-found: error
path: test/Sentry.Maui.Device.TestApp/bin/Release/net9.0-android/android-x64/io.sentry.dotnet.maui.device.testapp-Signed.apk
path: test/Sentry.Maui.Device.TestApp/bin/Release/${{ matrix.tfm }}-android/android-x64/io.sentry.dotnet.maui.device.testapp-Signed.apk

android:
needs: [build]
Expand All @@ -58,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tfm: [net9.0]
tfm: [net9.0, net10.0]
# Must be 34+ for new apps and app updates as of August 31, 2024.
# See https://apilevels.com/
api-level: [34, 36]
Expand Down Expand Up @@ -130,7 +129,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: getsentry/github-workflows
ref: a5e409bd5bad4c295201cdcfe862b17c50b29ab7 # v2.14.1
ref: 95603f4efe938315ff0dd427a1f2bb40b1889a92 # 3.2.0
path: modules/github-workflows

- name: Run Integration Tests
Expand All @@ -147,7 +146,7 @@ jobs:
disk-size: ${{ env.ANDROID_EMULATOR_DISK_SIZE }}
emulator-options: ${{ env.ANDROID_EMULATOR_OPTIONS }}
disable-animations: false
script: pwsh integration-test/android.Tests.ps1
script: pwsh integration-test/android.Tests.ps1 -dotnet_version ${{ matrix.tfm }}

- name: Retry Integration Tests (if previous failed to run)
if: steps.first-integration-test-run.outcome == 'failure'
Expand Down
1 change: 1 addition & 0 deletions Sentry.sln
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "integration-test", "integra
integration-test\pester.ps1 = integration-test\pester.ps1
integration-test\ios.Tests.ps1 = integration-test\ios.Tests.ps1
integration-test\msbuild.Tests.ps1 = integration-test\msbuild.Tests.ps1
integration-test\android.Tests.ps1 = integration-test\android.Tests.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "net4-console", "net4-console", "{33793113-C7B5-434D-B5C1-6CA1A9587842}"
Expand Down
50 changes: 29 additions & 21 deletions integration-test/android.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
param(
[string] $dotnet_version = "net10.0"
)

# This file contains test cases for https://pester.dev/
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
. $PSScriptRoot/pester.ps1
. $PSScriptRoot/common.ps1
. $PSScriptRoot/../scripts/device-test-utils.ps1

BeforeDiscovery {
Expand All @@ -12,11 +17,14 @@ BeforeDiscovery {
$script:emulator = Get-AndroidEmulatorId
}

Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(
@{ tfm = "net9.0-android35.0"; configuration = "Release" }
@{ tfm = "net9.0-android35.0"; configuration = "Debug" }
) -Skip:(-not $script:emulator) {
$cases = @(
@{ configuration = 'Release' }
@{ configuration = 'Debug' }
)
Describe 'MAUI app (<dotnet_version>, <configuration>)' -ForEach $cases -Skip:(-not $script:emulator) {
BeforeAll {
$tfm = "$dotnet_version-android$(GetAndroidTpv $dotnet_version)"

Remove-Item -Path "$PSScriptRoot/mobile-app" -Recurse -Force -ErrorAction SilentlyContinue
Copy-Item -Path "$PSScriptRoot/net9-maui" -Destination "$PSScriptRoot/mobile-app" -Recurse -Force
Push-Location $PSScriptRoot/mobile-app
Expand Down Expand Up @@ -126,9 +134,9 @@ Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(

Dump-ServerErrors -Result $result
$result.HasErrors() | Should -BeFalse
$result.Envelopes() | Should -AnyElementMatch "`"type`":`"System.ApplicationException`""
$result.Envelopes() | Should -Not -AnyElementMatch "`"type`":`"SIGABRT`""
$result.Envelopes() | Should -HaveCount 1
$result.Events() | Should -AnyElementMatch "`"type`":`"System.ApplicationException`""
$result.Events() | Should -Not -AnyElementMatch "`"type`":`"SIGABRT`""
$result.Events() | Should -HaveCount 1
}

It 'Java crash (<configuration>)' {
Expand All @@ -140,9 +148,9 @@ Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(

Dump-ServerErrors -Result $result
$result.HasErrors() | Should -BeFalse
$result.Envelopes() | Should -AnyElementMatch "`"type`":`"RuntimeException`""
$result.Envelopes() | Should -Not -AnyElementMatch "`"type`":`"System.\w+Exception`""
$result.Envelopes() | Should -HaveCount 1
$result.Events() | Should -AnyElementMatch "`"type`":`"RuntimeException`""
$result.Events() | Should -Not -AnyElementMatch "`"type`":`"System.\w+Exception`""
$result.Events() | Should -HaveCount 1
}

It 'Native crash (<configuration>)' {
Expand All @@ -154,9 +162,9 @@ Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(

Dump-ServerErrors -Result $result
$result.HasErrors() | Should -BeFalse
$result.Envelopes() | Should -AnyElementMatch "`"type`":`"SIG[A-Z]+`"" # SIGILL (x86_64), SIGTRAP (arm64-v8a)
$result.Envelopes() | Should -Not -AnyElementMatch "`"type`":`"System.\w+Exception`""
$result.Envelopes() | Should -HaveCount 1
$result.Events() | Should -AnyElementMatch "`"type`":`"SIG[A-Z]+`"" # SIGILL (x86_64), SIGTRAP (arm64-v8a)
$result.Events() | Should -Not -AnyElementMatch "`"type`":`"System.\w+Exception`""
$result.Events() | Should -HaveCount 1
}

It 'Null reference exception (<configuration>)' {
Expand All @@ -168,13 +176,13 @@ Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(

Dump-ServerErrors -Result $result
$result.HasErrors() | Should -BeFalse
$result.Envelopes() | Should -AnyElementMatch "`"type`":`"System.NullReferenceException`""
$result.Events() | Should -AnyElementMatch "`"type`":`"System.NullReferenceException`""
# TODO: fix redundant SIGSEGV in Release (#3954)
if ($configuration -eq "Release") {
{ $result.Envelopes() | Should -Not -AnyElementMatch "`"type`":`"SIGSEGV`"" } | Should -Throw
{ $result.Events() | Should -Not -AnyElementMatch "`"type`":`"SIGSEGV`"" } | Should -Throw
} else {
$result.Envelopes() | Should -Not -AnyElementMatch "`"type`":`"SIGSEGV`""
$result.Envelopes() | Should -HaveCount 1
$result.Events() | Should -Not -AnyElementMatch "`"type`":`"SIGSEGV`""
$result.Events() | Should -HaveCount 1
}
}

Expand All @@ -186,8 +194,8 @@ Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(

Dump-ServerErrors -Result $result
$result.HasErrors() | Should -BeFalse
$result.Envelopes() | Should -AnyElementMatch "`"type`":`"system`",`"thread_id`":`"1`",`"category`":`"device.event`",`"action`":`"BATTERY_CHANGED`""
$result.Envelopes() | Should -HaveCount 1
$result.Events() | Should -AnyElementMatch "`"type`":`"system`",`"thread_id`":`"1`",`"category`":`"device.event`",`"action`":`"BATTERY_CHANGED`""
$result.Events() | Should -HaveCount 1
}

It 'Delivers network breadcrumbs in main thread (<configuration>)' {
Expand All @@ -198,7 +206,7 @@ Describe 'MAUI app (<tfm>, <configuration>)' -ForEach @(

Dump-ServerErrors -Result $result
$result.HasErrors() | Should -BeFalse
$result.Envelopes() | Should -AnyElementMatch "`"type`":`"system`",`"thread_id`":`"1`",`"category`":`"network.event`",`"action`":`"NETWORK_CAPABILITIES_CHANGED`""
$result.Envelopes() | Should -HaveCount 1
$result.Events() | Should -AnyElementMatch "`"type`":`"system`",`"thread_id`":`"1`",`"category`":`"network.event`",`"action`":`"NETWORK_CAPABILITIES_CHANGED`""
$result.Events() | Should -HaveCount 1
}
}
3 changes: 3 additions & 0 deletions integration-test/cli.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Describe 'Console apps (<framework>) - normal build' -ForEach @(
foreach ($fw in $currentFrameworks) { @{ framework = $fw } }
) {
BeforeAll {
ResetLocalPackages
DotnetNew 'console' 'console-app' $framework
}

Expand Down Expand Up @@ -43,6 +44,7 @@ Describe 'Console apps (<framework>) - native AOT publish' -ForEach @(
foreach ($fw in $currentFrameworks) { @{ framework = $fw } }
) {
BeforeAll {
ResetLocalPackages
DotnetNew 'console' 'console-app' $framework
}

Expand Down Expand Up @@ -105,6 +107,7 @@ Describe 'MAUI (<framework>)' -ForEach @(
@{ framework = $previousFramework }
) -Skip:($env:NO_MOBILE -eq "true") {
BeforeAll {
ResetLocalPackages
RegisterLocalPackage 'Sentry.Android.AssemblyReader'
RegisterLocalPackage 'Sentry.Bindings.Android'
RegisterLocalPackage 'Sentry.Extensions.Logging'
Expand Down
9 changes: 6 additions & 3 deletions integration-test/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,12 @@ BeforeAll {
Remove-Item -Path ~/.nuget/packages/$($name.ToLower())/$packageVersion -Recurse -Force -ErrorAction SilentlyContinue
}

Remove-Item -Path "$PSScriptRoot/packages" -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Path "$PSScriptRoot/packages" | Out-Null
RegisterLocalPackage 'Sentry'
function ResetLocalPackages()
{
Remove-Item -Path "$PSScriptRoot/packages" -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Path "$PSScriptRoot/packages" | Out-Null
RegisterLocalPackage 'Sentry'
}

function RunDotnetWithSentryCLI([string] $action, [string]$project, [bool]$Symbols, [bool]$Sources, [string]$TargetFramework)
{
Expand Down
7 changes: 5 additions & 2 deletions integration-test/ios.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ BeforeDiscovery {
}

Describe 'iOS app (<tfm>, <configuration>)' -ForEach @(
@{ tfm = "net9.0-ios18.0"; configuration = "Release" }
@{ tfm = "net9.0-ios18.0"; configuration = "Debug" }
# Note: we can't run against net10 and net9 becaus .NET 10 requires Xcode 26.2 and .NET 9 requires Xcode 26.0.
# The macOS GitHub Actions runners only have Xcode 26.1+ installed and no support for Xcode 26.2 is planned for
# net9.0-ios: https://github.com/dotnet/macios/issues/24199#issuecomment-3819021247
Comment on lines +15 to +17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow-up: #4895

@{ tfm = "net10.0-ios26.2"; configuration = "Release" }
@{ tfm = "net10.0-ios26.2"; configuration = "Debug" }
) -Skip:(-not $script:simulator) {
BeforeAll {
. $PSScriptRoot/../scripts/device-test-utils.ps1
Expand Down
4 changes: 4 additions & 0 deletions integration-test/msbuild.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ $IsARM64 = "Arm64".Equals([System.Runtime.InteropServices.RuntimeInformation]::O
# NOTE: These .NET versions are used to build a test app that consumes the Sentry
# .NET SDK, and are not tied to the .NET version used to build the SDK itself.
Describe 'MSBuild app' {
BeforeAll {
ResetLocalPackages
}

BeforeDiscovery {
$frameworks = @()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(TargetFrameworks);net9.0-android35.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net9.0-ios18.0</TargetFrameworks>
<TargetFrameworks>$(TargetFrameworks);net9.0-android35.0;net10.0-android36.0</TargetFrameworks>
<!-- Pin target iOS version so that our tests don't break when new versions of Xcode are released.
'netX.0-ios' resolves the latest version of the iOS SDK otherwise.
-->
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net10.0-ios26.2</TargetFrameworks>
Comment on lines +5 to +8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow-up: #4895


<OutputType>Exe</OutputType>
<RootNamespace>Sentry.Maui.Device.IntegrationTestApp</RootNamespace>
Expand Down Expand Up @@ -31,7 +34,7 @@

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<TargetPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">18.0</TargetPlatformVersion>

</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions integration-test/runtime.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Describe 'Console app NativeAOT (<framework>)' -ForEach @(
foreach ($fw in $currentFrameworks) { @{ framework = $fw } }
) {
BeforeAll {
ResetLocalPackages
$path = './console-app'
DotnetNew 'console' $path $framework
@'
Expand Down Expand Up @@ -184,6 +185,10 @@ internal class FakeTransport : ITransport

# This ensures we don't have a regression for https://github.com/getsentry/sentry-dotnet/issues/2825
Describe 'Console app regression (missing System.Reflection.Metadata)' {
BeforeAll {
ResetLocalPackages
}

AfterAll {
dotnet remove ./net4-console/console-app.csproj package Sentry
}
Expand Down
6 changes: 3 additions & 3 deletions scripts/device-test-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ function Get-AndroidEmulatorId
function Get-IosSimulatorUdid {
[CmdletBinding()]
param(
[string]$IosVersion = '18.5',
[string]$IosVersion = '26.0',
[string[]]$PreferredDeviceTypes = @(
'com.apple.CoreSimulator.SimDeviceType.iPhone-XS',
'com.apple.CoreSimulator.SimDeviceType.iPhone-16',
'com.apple.CoreSimulator.SimDeviceType.iPhone-15'
'com.apple.CoreSimulator.SimDeviceType.iPhone-17',
'com.apple.CoreSimulator.SimDeviceType.iPhone-16'
),
[string[]]$PreferredStates = @('Shutdown','Booted')
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/device-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ try
{
if (!$Tfm)
{
$Tfm = 'net9.0'
$Tfm = 'net10.0'
}
$arch = (!$IsWindows -and $(uname -m) -eq 'arm64') ? 'arm64' : 'x64'
if ($Platform -eq 'android')
Expand Down
4 changes: 3 additions & 1 deletion src/Sentry/Internal/Hub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,9 @@ public void Dispose()
#if __IOS__
// TODO
#elif ANDROID
// TODO
// TODO: For some reason the integration tests on Android fail if we Close on the Java SDK...
// https://github.com/getsentry/sentry-dotnet/blob/0adaddb7ad91d0b41a2c38aacc64727ce54b2a3b/integration-test/android.Tests.ps1#L154
// JavaSdk.Sentry.Close();
#elif NET8_0_OR_GREATER
if (SentryNative.IsAvailable)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(TargetFrameworks);net9.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net9.0-ios</TargetFrameworks>
<TargetFrameworks>$(TargetFrameworks);net9.0-android;net10.0-android</TargetFrameworks>
<!-- Note: we can't run against net9-ios because .NET 10 requires Xcode 26.2 and .NET 9 requires Xcode 26.0.
The macOS GitHub Actions runners only have Xcode 26.1+ installed and no support for Xcode 26.2 is planned for
net9.0-ios: https://github.com/dotnet/macios/issues/24199#issuecomment-3819021247
-->
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net10.0-ios</TargetFrameworks>
Comment on lines +5 to +9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow-up: #4895

<DefineConstants Condition="'$(EnableMauiDeviceTestVisualRunner)' == 'true'">$(DefineConstants);VISUAL_RUNNER</DefineConstants>
</PropertyGroup>

Expand Down Expand Up @@ -34,8 +38,7 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<!-- Pin target iOS version so that our tests don't break when new versions of Xcode are released.
'netX.0-ios' resolves the latest version of the iOS SDK otherwise. -->
<TargetPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">18.0</TargetPlatformVersion>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could leave this in there (bump to 26.2 of course)... that would be consistent with what we've done for the IntegrationTestApp

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow-up: #4895


<TargetPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">26.2</TargetPlatformVersion>
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>

<!-- Avoid errors of Sentry.Testing not being a self-contained executable, while including it in a self-contained executable (this).
Expand Down
Loading