-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
BugSomething isn't workingSomething isn't workingFramework: BlazorGood First IssueGood for newcomersGood for newcomers
Description
Package
Sentry
.NET Flavor
.NET
.NET Version
8.0.5
OS
Any (not platform specific)
SDK Version
4.6.2
Self-Hosted Sentry Version
No response
Steps to Reproduce
- Compile a Blazor project with AoT enabled (Repro from Sentry fails to initialize in Blazor with AoT enabled #3263 should work)
- Observe warning in build
Expected Result
No warning
Actual Result
During AoT the following warning is emitted
[WRN] /usr/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.5/Sdk/WasmApp.Native.targets(338,5): warning WASM0001: Could not get pinvoke, or callbacks for method 'Sentry.Native.C::sentry_options_set_logger' because 'Parsing function pointer types in signatures is not supported.' [/builds/acodia-care/acodia-care/src/Web/Web.Blazor/Web.Blazor.csproj]
The app itself works fine, I don't observe any errors in console or during build.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingFramework: BlazorGood First IssueGood for newcomersGood for newcomers
Projects
Status
Done
Status
No status