From 0d847bf44bb1dbc64b146f8437cdc4621ed89897 Mon Sep 17 00:00:00 2001 From: rodolfoBee <64906376+rodolfoBee@users.noreply.github.com> Date: Wed, 12 Feb 2025 10:07:07 +0100 Subject: [PATCH 1/3] Adding unsupported hot reload --- platform-includes/troubleshooting/dotnet.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform-includes/troubleshooting/dotnet.mdx b/platform-includes/troubleshooting/dotnet.mdx index 11287b4ef7729..6e268c2717f3e 100644 --- a/platform-includes/troubleshooting/dotnet.mdx +++ b/platform-includes/troubleshooting/dotnet.mdx @@ -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). From 987dadea07ff1022866e981484495ad35d247138 Mon Sep 17 00:00:00 2001 From: rodolfoBee <64906376+rodolfoBee@users.noreply.github.com> Date: Wed, 12 Feb 2025 19:33:59 +0100 Subject: [PATCH 2/3] Fix reload to restart --- platform-includes/troubleshooting/dotnet.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform-includes/troubleshooting/dotnet.mdx b/platform-includes/troubleshooting/dotnet.mdx index 6e268c2717f3e..e8f1e5414e1eb 100644 --- a/platform-includes/troubleshooting/dotnet.mdx +++ b/platform-includes/troubleshooting/dotnet.mdx @@ -51,10 +51,10 @@ using SentrySession = Sentry.Session; Then `SentrySession` can be used instead of `Sentry.Session`. -### VS Hot Reload isn't compatible with static assemblies +### VS Hot Restart 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: +Attempting to build a .NET MAUI iOS app will result in an error if you use Visual Studio Hot Restart 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). +This happens because Hot Restart 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). From 56b082afb702962a1531c59e889170bc36b22f72 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Wed, 12 Feb 2025 23:10:24 -0500 Subject: [PATCH 3/3] Apply suggestions from code review --- platform-includes/troubleshooting/dotnet.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-includes/troubleshooting/dotnet.mdx b/platform-includes/troubleshooting/dotnet.mdx index e8f1e5414e1eb..ba291818022b8 100644 --- a/platform-includes/troubleshooting/dotnet.mdx +++ b/platform-includes/troubleshooting/dotnet.mdx @@ -51,9 +51,9 @@ using SentrySession = Sentry.Session; Then `SentrySession` can be used instead of `Sentry.Session`. -### VS Hot Restart isn't compatible with static assemblies +### Visual Studio Hot Restart Incompatibility -Attempting to build a .NET MAUI iOS app will result in an error if you use Visual Studio Hot Restart when developing on Windows with a remote mac: +Attempting to build a .NET MAUI iOS app will result in an error if you use Visual Studio Hot Restart 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.