Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
System.InvalidOperationException was unhandled by user code
HResult=-2146233079
Message=Can not create more than one Application instance.
Source=Xamarin.Forms.Core
StackTrace:
at Xamarin.Forms.Application.set_Current(Application value)
at Xamarin.Forms.Application..ctor()
at Xamarin.Forms.Forms.DefaultApplication..ctor(Page mainPage)
at Xamarin.Forms.Forms.ConvertPageToUIElement(Page page, PhoneApplicationPage applicationPage)
at LoginPattern.WinPhone.MainPage.ShowMainPage()
at LoginPattern.LoginPage.<>c__DisplayClassc.<.ctor>b__8(Object sender, EventArgs e)
at Xamarin.Forms.Button.Xamarin.Forms.IButtonController.SendClicked()
at Xamarin.Forms.Platform.WinPhone.ButtonRenderer.HandleButtonClick(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.<OnMouseLeftButtonUp>b__9()
InnerException:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment