Skip to content

Commit 7188b44

Browse files
Disable AOT compilation in MauiTrimTest app (bug in System.Text.Json)
1 parent 9af1b39 commit 7188b44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Sentry.MauiTrimTest/Sentry.MauiTrimTest.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,12 @@
7575

7676
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
7777
<!-- Some analysis errors only show when AOT is enabled - not all of them are related to trimming -->
78-
<PublishAot>true</PublishAot>
78+
<!-- TODO: Reneable once this issue has been addressed: https://github.com/dotnet/runtime/pull/109186 -->
79+
<!-- <PublishAot>true</PublishAot>-->
7980
</PropertyGroup>
8081

8182
<ItemGroup>
83+
<ProjectReference Include="..\..\src\Sentry\Sentry.csproj" />
8284
<ProjectReference Include="..\..\src\Sentry.Maui\Sentry.Maui.csproj" />
8385
<!-- Ensure code for Bindings is included for trim analysis... the bindings are part of the core Sentry package -->
8486
<TrimmerRootAssembly Include="Sentry" RootMode="All" />

0 commit comments

Comments
 (0)