rotorgames / Rg.Plugins.Popup

Xamarin Forms popup plugin
MIT License
1.15k stars 336 forks source link

Xamarin UWP release #766

Open Cav-jj opened 8 months ago

Cav-jj commented 8 months ago

When I Release the app in Xamarin UWP i get this error message when I call await Rg.Plugins.Popup.Services.PopupNavigation.Instance.PushAsync(new PopUpWindows(), false); but it works in debug mode System.InvalidCastException: Specified cast is not valid. at Rg.Plugins.Popup.Windows.Impl.PopupPlatformWindows.d11.MoveNext() + 0x88 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at Rg.Plugins.Popup.Services.PopupNavigationImpl.<>cDisplayClass20_0.<b0>d.MoveNext() + 0xf2 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at Rg.Plugins.Popup.Services.PopupNavigationImpl.<>cDisplayClass28_0.<b0>d.MoveNext() + 0xb0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at OrfalaMobile.CustomLayout.InventoryInformationPage.d8.MoveNext() + 0x1b3