“Cannot create instance of WindowsPage”

前端 未结 2 426
终归单人心
终归单人心 2021-01-23 10:41

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

2条回答
  •  不知归路
    2021-01-23 11:04

    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.

提交回复
热议问题