"Unable to instantiate WindowsPage"

I created the Xamarin.Forms middleware application template. Now I get the error "Cannot create an instance of WindowsPage" in a UWP project. Note. I have not made any changes to the template. Error screenshot

+1
source share
2 answers

In my case, the error does not interfere with compiling the project and appears only if the MainPage.xaml file is open in the editor. Therefore, I suggest you close this file before creating your solution, and the error will disappear.

Anyway, I hope this helps.

+2
source

. . . , .

+1

All Articles