Skip to content

Error in "Adding a Windows App" Documentation #2

Description

@wycoconut

Referring to this URL : http://developer.xamarin.com/guides/cross-platform/xamarin-forms/windows/getting-started/tablet/, step 6 is inaccurate.

Based on what I examined in Hanselman.Forms, it should be :
6a. Add "using Xamarin.Forms.Platform.WinRT;" at the top.
6b. Edit MainPage.xaml.cs to remove the : Page inheritance specifier for the class name.

public sealed partial class MainPage : WindowsPage // REMOVE ": Page", replace with ": WindowsPage"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions