Open
Description
Package
Sentry
.NET Flavor
.NET
.NET Version
8.0.0
OS
Browser
SDK Version
4.9.0
Self-Hosted Sentry Version
No response
Steps to Reproduce
Add Profiling to a Sentry application and publish it with AOT enabled
Expected Result
Build suceeds
Actual Result
Build fails with an error during precompiling
21:39:54 [ERR] /usr/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.7/Sdk/WasmApp.Native.targets(686,5): error : Precompiling failed for /builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/obj/Release/linked/Microsoft.Diagnostics.Tracing.TraceEvent.dll with exit code 1. [/builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/Web.Blazor.csproj]
21:39:54 [ERR] /usr/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.7/Sdk/WasmApp.Native.targets(686,5): error : Mono Ahead of Time compiler - compiling assembly /builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/obj/Release/linked/Microsoft.Diagnostics.Tracing.TraceEvent.dll [/builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/Web.Blazor.csproj]
21:39:54 [ERR] /usr/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.7/Sdk/WasmApp.Native.targets(686,5): error : Failed to load method 0x600001a from '/builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/obj/Release/linked/Microsoft.Diagnostics.Tracing.TraceEvent.dll' due to Could not load file or assembly 'Dia2Lib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.. [/builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/Web.Blazor.csproj]
21:39:54 [ERR] /usr/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.7/Sdk/WasmApp.Native.targets(686,5): error : Run with MONO_LOG_LEVEL=debug for more information. [/builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/Web.Blazor.csproj]
21:39:54 [ERR] /usr/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.7/Sdk/WasmApp.Native.targets(686,5): error : AOT of image /builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/obj/Release/linked/Microsoft.Diagnostics.Tracing.TraceEvent.dll failed. [/builds/xxxxxxxxx/xxxxxxxxx/src/Web/Web.Blazor/Web.Blazor.csproj]
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status
Status
Waiting for: Product Owner