Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

An exception of type 'System.ArgumentNullException' occurred in Xamarin.Forms.Platform.UAP.dll  #51

@jhrendon40

Description

@jhrendon40

I get exception "An exception of type 'System.ArgumentNullException' occurred in Xamarin.Forms.Platform.UAP.dll but was not handled in user code
Additional information: Value cannot be null." in MainPage.xaml.cs. How this fix?

public sealed partial class MainPage : WindowsPage
{
public MainPage()
{
this.InitializeComponent();

        var start = Mvx.Resolve<MvvmCross.Core.ViewModels.IMvxAppStart>();
        start.Start();

        var presenter = Mvx.Resolve<IMvxViewPresenter>() as MvxFormsWindowsUWPPagePresenter;
        LoadApplication(presenter.MvxFormsApp);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions