BreadCrumbs on UWP

UWP3Raygun

Posted on
Apr 15 2025

Trying to add BreadCrumbs to a UWP project. Using RayGun4UWP. Also brought in Mindscate.Raygun4Ney.NetCore.Common for creating breadcrumb object. (Other nuget packages were incompatible with UWP.)

Could it be done in UWP?


MattByers

Raygun

Posted on
Apr 15 2025

Hi there,

Thanks for your query.

That's correct, our UWP provider currently does not have support for Raygun Breadcrumbs. I'll raise this with the team, as a feature request, to get it on the radar.

Regarding your test above. If I follow, you're attempting to track breadcrumbs with the Raygun4Net.NetCore.Common library to see if they'll be picked up by the Raygun4UWP RaygunClient. As you've probably found out, this won't work as there is no common code shared between the Raygun4Net.NetCore.Common and Raygun4UWP libraries.

I haven't tested this idea, but just thinking out loud. Perhaps you could try referencing the Raygun4Net.NetCore package ( https://www.nuget.org/packages/Mindscape.Raygun4Net.NetCore ) and set this up in place of Raygun4UWP. Raygun4Net.NetCore has a target for .NET Standard 2.0, so I'd expect this to be compatible with a UWP project as well. If you are able to reference this package, you could have a go setting up the RaygunClient from this package and using it to log your exceptions. This Raygun client will pick up breadscrumbs from the RaygunBreadcrumbs object. Here are the instructions for how Raygun4Net.NetCore is setup - https://raygun.com/documentation/language-guides/dotnet/crash-reporting/net-core/

Some notes about this idea:

  • Raygun4Net.NetCore does not have support for RUM, so if you're using RUM you will still need to use Raygun4UWP
  • Unhandled exception tracking might not work as expected with Raygun4Net.NetCore in a UWP application, so you may need to setup a handler for these manually.

Kind regards, Matt


UWP3Raygun

Posted on
Apr 16 2025

Thanks for the clarifications.

Attempts to bring in other packages like Mindscape.Raygun4Net.NetCore were doomed with errors such as "Severity Code Description Project File Line Suppression State Details Error NU1202 Package Mindscape.Raygun4Net.Core 11.2.2 is not compatible with uap10.0.16299 (UAP,Version=v10.0.16299) / win10-arm-aot. Package Mindscape.Raygun4Net.Core 11.2.2 supports: net462 (.NETFramework,Version=v4.6.2) RayGunTest C:\TB3\CommsPS-Xbox\RayGunTest\RayGunTest.csproj 1
"


Reply