We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# Markup fails to hot reload on iOS because of the "Create new type on update" attribute:
default 12:33:01.157298+0000 fit100 dbug: Uno.UI.DataBinding.BindingPath[0] Property changed for ToastDescription on [Uno.UI.HotDesign.Client.HotReload.ApplicationEntry] default 12:33:01.490001+0000 fit100 trce: Uno.UI.HotDesign.IMessageBrokerRegistration[0] default 12:33:01.490189+0000 fit100 Sending user information message: UserInformationMessage { Scope = HotDesign, SenderId = 0, ProcessSenderId = 0, MessageName = UserInformationMessage, AlwaysProcess = False, Message = Hot Reload Requested, for 3 types, Description = , Level = Diagnostic } default 12:33:01.490783+0000 fit100 trce: Uno.UI.HotDesign.MessageBroker.MessageBrokerRegistration[0] HotReloadUpdateHandler sending message: 'UserInformationMessage' default 12:33:01.513253+0000 fit100 dbug: Uno.UI.DataBinding.BindingPath[0] Property changed for ToastDescription on [Uno.UI.HotDesign.Client.HotReload.ApplicationEntry] default 12:33:01.538465+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.ScrollViewerMetadataUpdateHandler[0] Saving state of 21-ContentElement-1EA22175 (v: 0 | h: 0) default 12:33:01.547111+0000 fit100 dbug: Uno.UI.DataBinding.BindingPath[0] Property changed for ToastDescription on [Uno.UI.HotDesign.Client.HotReload.ApplicationEntry] default 12:33:01.547329+0000 fit100 dbug: Uno.UI.DataBinding.BindingPath[0] Property changed for ToastDescription on [Uno.UI.HotDesign.Client.HotReload.ApplicationEntry] default 12:33:01.547472+0000 fit100 dbug: Uno.UI.DataBinding.BindingPath[0] Property changed for ToastDescription on [Uno.UI.HotDesign.Client.HotReload.ApplicationEntry] default 12:33:01.549833+0000 fit100 fail: Uno.UI.Dispatching.NativeDispatcher[0] NativeDispatcher unhandled exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. default 12:33:01.549875+0000 fit100 ---> ObjCRuntime.RuntimeException: Cannot register two managed types ('fit100.Presentation.Main.MainPage#5, fit100, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'fit100.Presentation.Main.MainPage#1, fit100, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') with the same native name ('fit100_Presentation_Main_MainPage'). at Registrar.Registrar.RegisterTypeUnsafe(Type type, List`1& exceptions) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/Registrar.cs:line 2083 default 12:33:01.549937+0000 fit100 at Registrar.Registrar.RegisterType(Type type, List`1& exceptions) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/Registrar.cs:line 1588 default 12:33:01.549985+0000 fit100 at Registrar.DynamicRegistrar.Register(Type type) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/DynamicRegistrar.cs:line 1283 at ObjCRuntime.Class.GetClassHandle(Type type, Boolean throw_if_failure, Boolean& is_custom_type) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/Class.cs:line 189 default 12:33:01.550028+0000 fit100 at Foundation.NSObject.AllocIfNeeded() in /Users/builder/azdo/_work/1/s/xamarin-macios/src/Foundation/NSObject2.cs:line 700 at Foundation.NSObject..ctor(NSObjectFlag x) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/Foundation/NSObject2.cs:line 220 default 12:33:01.550129+0000 fit100 at UIKit.UIResponder..ctor(NSObjectFlag t) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/build/dotnet/ios/generated-sources/UIKit/UIResponder.g.cs:line 128 default 12:33:01.550180+0000 fit100 at UIKit.UIView..ctor() in /Users/builder/azdo/_work/1/s/xamarin-macios/src/build/dotnet/ios/generated-sources/UIKit/UIView.g.cs:line 71 at Uno.UI.Controls.BindableUIView..ctor() at Microsoft.UI.Xaml.UIElement..ctor() at Microsoft.UI.Xaml.FrameworkElement..ctor() at Microsoft.UI.Xaml.Controls.Control..ctor() default 12:33:01.550219+0000 fit100 at Microsoft.UI.Xaml.Controls.ContentControl..ctor() at Microsoft.UI.Xaml.Controls.UserControl..ctor() at Microsoft.UI.Xaml.Controls.Page..ctor() default 12:33:01.550280+0000 fit100 at fit100.Presentation.Main.MainPage#5..ctor() in /Users/tor/Documents/projects/fit100/fit100/Presentation/Main/MainPage.cs:line 4 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) default 12:33:01.550323+0000 fit100 --- End of inner exception stack trace --- at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) at System.RuntimeType.CreateInstanceMono(Boolean nonPublic, Boolean wrapExceptions) default 12:33:01.550358+0000 fit100 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic) default 12:33:01.550401+0000 fit100 at System.Activator.CreateInstance(Type type) at Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor.ReplaceViewInstance(UIElement instance, Type replacementType, ImmutableArray`1& handlers, Type[] updatedTypes) default 12:33:01.550442+0000 fit100 at Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor.ReloadWithUpdatedTypes(HotReloadClientOperation hrOp, Window window, Type[] updatedTypes) at Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor.<>c__DisplayClass68_0.<<UpdateApplicationCore>b__1>d.MoveNext() default 12:33:01.550491+0000 fit100 --- End of stack trace from previous location --- at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Uno.UI.Dispatching.NativeDispatcherSynchronizationContext.<>c__DisplayClass3_0.<Post>b__0() default 12:33:01.550537+0000 fit100 at Uno.UI.Dispatching.NativeDispatcher.RunAction(NativeDispatcher dispatcher, Action action) default 12:33:01.958631+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.Primitives.PopupPanel[0] Measured PopupPanel #=-1835110317 () DC= child=Uno.Diagnostics.UI.DiagnosticsOverlay offset=0,0 availableSize=393,852 measured=75,32 default 12:33:01.960371+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.Primitives.PopupPanel[0] Arranged PopupPanel #=-1835110317 DC= child=Uno.Diagnostics.UI.DiagnosticsOverlay popupLocation=[0, 0] offset=0,0 finalSize=393,852 childFrame=0,0,75,32 default 12:33:01.961339+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.StackPanel[0] StackPanel/: Arranging 2 children. default 12:33:01.962270+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.StackPanel[0] StackPanel/: Arranging 2 children. default 12:33:01.963251+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.5] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:01.978836+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.5] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:01.995567+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.55] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.011687+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.6] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.028801+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.65] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.045433+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.7] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.062176+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.75] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.078953+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.75] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.094872+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.8] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.112138+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.85] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.128721+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.9] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.145031+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [0.95000005] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.162288+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline[0] Setting [1] to [PART_Notification / Opacity] and bypassing native propagation default 12:33:02.178833+0000 fit100 dbug: Microsoft.UI.Xaml.Media.Animation.Timeline+AnimationImplementation`1[[System.Single, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]][0] TimeLine has ended. default 12:33:02.195291+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.Primitives.PopupPanel[0] Measured PopupPanel #=-1835110317 () DC= child=Uno.Diagnostics.UI.DiagnosticsOverlay offset=0,0 availableSize=393,852 measured=75,32 default 12:33:02.195755+0000 fit100 dbug: Microsoft.UI.Xaml.Controls.Primitives.PopupPanel[0] Arranged PopupPanel #=-1835110317 DC= child=Uno.Diagnostics.UI.DiagnosticsOverlay popupLocation=[0, 0] offset=0,0 finalSize=393,852 childFrame=0,0,75,32
Originally posted by @saent-x in unoplatform/uno#19659 (reply in thread)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
C# Markup fails to hot reload on iOS because of the "Create new type on update" attribute:
Originally posted by @saent-x in unoplatform/uno#19659 (reply in thread)
The text was updated successfully, but these errors were encountered: