File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed
Platforms/Native/buildTransitive Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 2020 <!-- We need to support old stuff. Applications should definitely address these advisory warnings though. -->
2121 <NoWarn >$(NoWarn);NU1902;NU1903</NoWarn >
2222
23+ <!-- Ignore Wasm related warnings due to AOT -->
24+ <NoWarn >$(NoWarn);WASM0001</NoWarn >
25+
2326 <!-- https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-restore-audit#version-introduced -->
2427 <WarningsNotAsErrors >NU1902;NU1903</WarningsNotAsErrors >
2528 </PropertyGroup >
Original file line number Diff line number Diff line change 4040 <EnableAot >true</EnableAot >
4141 </PropertyGroup >
4242
43- <PropertyGroup >
44- <DefineConstants Condition =" '$(UsingSentryBlazorWebAssemblySdk)'=='true'" >$(DefineConstants);_SENTRY_BLAZOR_WASM</DefineConstants >
45- </PropertyGroup >
46-
4743 <PropertyGroup >
4844 <!-- Used by SIL.ReleaseTasks below -->
4945 <ChangelogFile >$(MSBuildThisFileDirectory)..\CHANGELOG.md</ChangelogFile >
Original file line number Diff line number Diff line change 2323 <FrameworkSupportsNative Condition =" '$(RuntimeIdentifier)' == 'osx-x64' or '$(RuntimeIdentifier)' == 'osx-arm64'" >true</FrameworkSupportsNative >
2424 <!-- net8.0 or greater -->
2525 <FrameworkSupportsNative Condition =" '$(_SentryIsNet8OrGreater)' != 'true' or !('$(OutputType)' == 'Exe' or '$(OutputType)' == 'WinExe')" >false</FrameworkSupportsNative >
26- <!-- blazor wasm -->
27- <FrameworkSupportsNative Condition =" '$(UsingSentryBlazorWebAssemblySdk)' == 'true'" >false</FrameworkSupportsNative >
2826 <!-- Make it opt-in/out -->
2927 <FrameworkSupportsNative Condition =" '$(SentryNative)' == 'true' or '$(SentryNative)' == 'enable'" >true</FrameworkSupportsNative >
3028 <FrameworkSupportsNative Condition =" '$(SentryNative)' == 'false' or '$(SentryNative)' == 'disable'" >false</FrameworkSupportsNative >
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ internal static IHub InitHub(SentryOptions options)
6969 InitSentryCocoaSdk ( options ) ;
7070#elif ANDROID
7171 InitSentryAndroidSdk ( options ) ;
72- #elif NET8_0_OR_GREATER && ! _SENTRY_BLAZOR_WASM
72+ #elif NET8_0_OR_GREATER
7373 // TODO: Is this working properly? Currently we don't have any way to check if the app is being compiled AOT
7474 // All we know is whether trimming has been enabled or not. I think at the moment we'll be initialising
7575 // SentryNative for managed applications when they've been trimmed!
You can’t perform that action at this time.
0 commit comments