LoginPattern on WinPhone is broken with 1.3.0.6292

BrianRepettiBrianRepetti USUniversity ✭✭✭

I am having trouble when using the LoginPattern on WinPhone with the latest release 1.3.0.6292

Here is the code I am using:
https://github.com/conceptdev/xamarin-forms-samples/tree/master/LoginDemo

I am getting an exception when attempting to login…

  • _exception {System.InvalidOperationException: Can not create more than one Application instance.
    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.b__9()} System.Exception {System.InvalidOperationException}

Posts

Sign In or Register to comment.