Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UWP NavigationView is not supported

Tags:

c#

uwp

I am trying to make UWP application with sidemenu. When I try this tutorial, I get an error in XAML:

NavigationView is not supported in a windows universal project

Build options:

Target Version:   Win 10 Creators Update (10.0; Build 15063)
Minimum Version:  November Update (10.0' Build 10586)
like image 896
tprieboj Avatar asked Oct 27 '17 17:10

tprieboj


2 Answers

Requirements to use NavigationView Class:

Device family: Windows 10 Fall Creators Update (introduced v10.0.16299.0)

API contract: Windows.Foundation.UniversalApiContract (introduced v5)

Reference: NavigationView Class

like image 56
Pavan Chandaka Avatar answered Sep 22 '22 16:09

Pavan Chandaka


NavigationView has also been backported to support all versions of Windows 10 starting with 14393 (Anniversary Update).

You can add it via NuGet and file issues here: https://github.com/Microsoft/microsoft-ui-xaml

like image 31
ClairelyClaire Avatar answered Sep 20 '22 16:09

ClairelyClaire