getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
606 stars 206 forks source link

MAUI debug symbols not matching up #3801

Open sentry-io[bot] opened 3 days ago

sentry-io[bot] commented 3 days ago

Sentry Feedback: JAVASCRIPT-2WWR

I use dotnet maui and within the NuGet I try to upload the symbols via

hillingar-myteamsafe myteamsafe true true --local true true true

But the sentry version is in the format a.b.c.d instead of a.b.c (xxxxxx) as per the MAUI

3.1.8
    <ApplicationVersion>610018</ApplicationVersion>

Therefore I suspect my debug symbols aren't being associated with my project correctly?

bruno-garcia commented 3 days ago

The version format is something we could look into. But that shouldn't be related to not finding symbols because symbols are matched by their debug_id.

But why the release format doesn't come out as expected is something we should look into.

jamescrosswell commented 3 days ago

I use dotnet maui and within the NuGet I try to upload the symbols via

hillingar-myteamsafe myteamsafe true true --local true true true

I'm not entirely sure what's going on here. These look like some arguments that are being passed to something... but I'm not sure what they're being passed to or how.

But the sentry version is in the format a.b.c.d instead of a.b.c (xxxxxx) as per the MAUI 3.1.8 610018

It seems different application types use different version format... Historically Windows apps have used the Assembly Version format which is a.b.c.d. Do MAUI apps always use the the format a.b.c (dddddd) or does it depend on the platform that you're deploying to? So is this the format used for Android, Linux, Mac OS, iOS and Windows for MAUI apps?

Needs some investigation.