Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adding unsupported hot reload
  • Loading branch information
rodolfoBee authored Feb 12, 2025
commit 0d847bf44bb1dbc64b146f8437cdc4621ed89897
8 changes: 8 additions & 0 deletions platform-includes/troubleshooting/dotnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,11 @@ using SentrySession = Sentry.Session;
```

Then `SentrySession` can be used instead of `Sentry.Session`.

### VS Hot Reload isn't compatible with static assemblies

Attempting to build a .NET MAUI iOS app will result in an error if you use Visual Studio Hot Reload when developing on Windows with a remote mac:

> The xcframework sentry.bindings.cocoa\5.0.1\lib\net8.0-ios17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed.

This happens because Hot Reload does not support static iOS libraries or frameworks containing static libraries, as detailed in the [Microsoft documentation](https://learn.microsoft.com/en-us/dotnet/maui/ios/hot-restart?view=net-maui-9.0#limitations).