I created a Xamarin.Forms cross-platform application template. Now I am getting \"Cannot create instance of WindowsPage\" error in the UWP project. Note: I have not made any cha
In my case the error does not prevent the project from compiling and only appears if the MainPage.xaml file is open in the editor. So I would suggest that you close that file prior to building your solution and the error will go away.
Anyway, I hope that helps.
It just does that at times. You need to deploy your application once. Thereafter, the error should not come again. Atleast, thats how it worked for me.