When targeting net8.0-android, trimming has to be disabled. We had it enabled implicitly by setting IsAotCompatible = true for net8.0+ when FrameworkSupportsAot == true. That property has been renamed to EnableAot and we now override this and set it to false when running the android device tests.
To get the iOS device tests to run against net8.0-ios, the interpreter has to be enabled explicitly (presumably the default for this was changed between net7.0-ios and net8.0-ios
Fixes https://github.com/getsentry/sentry-dotnet/issues/3484#issuecomment-2254925496
Notes for Reviewers
Mostly just a version bump, but with various domino effects:
Device Tests
IsAotCompatible = true
for net8.0+ whenFrameworkSupportsAot == true
. That property has been renamed toEnableAot
and we now override this and set it tofalse
when running the android device tests.