-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't workingFramework: MAUI
Description
Package
Sentry
.NET Flavor
.NET
.NET Version
9.0
OS
iOS
OS Version
No response
Development Environment
Visual Studio v17.x
SDK Version
5.10
Self-Hosted Sentry Version
No response
Workload Versions
UseSentry or SentrySdk.Init call
.UseSentry(options =>
{
//The DSN is the only required setting
options.Dsn = **************;
#if DEBUG
options.Debug = true;
options.TracesSampleRate = 1.0;
#else
options.TracesSampleRate = 0.2;
#endif
//All other Sentry options
options.IsGlobalModeEnabled = true;
options.IncludeTextInBreadcrumbs = true;
options.IncludeTitleInBreadcrumbs = true;
options.IncludeBackgroundingStateInBreadcrumbs = true;
options.AttachStacktrace = true;
options.CaptureFailedRequests = true;
});
Steps to Reproduce
- Update Visual Studio to 17.14.6 (June 2025).
- Try and build a Maui app with iOS and/or MacCatalyst platforms included.
Expected Result
Everything should build with no errors.
Actual Result
When trying to build our Maui project we're getting the following 4 errors:
- The xcframework C:\Users******.nuget\packages\sentry.bindings.cocoa\5.10.0\lib\net8.0-ios17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed.
- Can't process the zip file 'C:\Users******..nuget\packages\sentry.bindings.cocoa\5.10.0\lib\net8.0-maccatalyst17.0\Sentry.Bindings.Cocoa.resources.zip' on this platform: the file 'Sentry-Dynamic.xcframework/ios-arm64_arm64e_x86_64-maccatalyst/Sentry.framework/PrivateHeaders' is a symlink.
- Can't process the zip file 'C:\Users******..nuget\packages\sentry.bindings.cocoa\5.10.0\lib\net8.0-maccatalyst17.0\Sentry.Bindings.Cocoa.resources.zip' on this platform: the file 'Sentry-Dynamic.xcframework/ios-arm64_arm64e_x86_64-maccatalyst/Sentry.framework/Resources' is a symlink.
- The xcframework C:\Users******..nuget\packages\sentry.bindings.cocoa\5.10.0\lib\net8.0-maccatalyst17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed.
Updating Visual Studio to 17.14.6 (June 2025) is the cause - I guarantee it. Everything built correctly yesterday, but clearly Microsoft have changed something in their Maui compilation that's caused this mismatch with Sentry.
(by the way I am aware of https://docs.sentry.io/platforms/dotnet/guides/maui/troubleshooting/#visual-studio-hot-restart-incompatibility, but I don't have Hot Restart enabled, so that's not a problem, this is definitely caused by the VS update).
rad765, twojnarowski, frolyo and swlasse
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't workingFramework: MAUI
Projects
Status
Done
Status
Waiting for: Product Owner