I Am creating a new universal windows app in the visual studio 2015. In the main page i am using frame to navigate one page to another page. but i cannot assign the page to navigate.It shows like this error cannot convert the System.uri to System.Type. I don't know why the same code working in the wpf properly but i can't in UWP. What is the reason for this??
mainframe.Navigate(new System.Uri("firstpagedemo.xaml", UriKind.Relative));
This is my code how can i change the type of that parameter. Mainframe is my frame's name.