-
Notifications
You must be signed in to change notification settings - Fork 333
Description
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.d__11.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.<>c__DisplayClass20_0.<b__0>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.<>c__DisplayClass28_0.<b__0>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.d__8.MoveNext() + 0x1b3