Thursday, March 30, 2017

The name "ContentPage" does not exist in the namespace "".

Most likely, the reason why you see those errors is that you are using the default XAML editor.
To fix this error try following:
1- Close all open documents.
2- From solution explorer, Right click on the *.XAML file you want to open.
3- Click on "Open With".
4- Click on "XML Text Editor".
5- Click on "Set as default" if you like.
Now you will be editing the file as normal XML file and errors should disappear.

No comments:

Post a Comment

How to prevent little black boxes not to be displayed in Simulator.

Disable Visual Studio  extra debug option Try unchecking this option: Tools > Options > Debugging > General > Enable UI Debug...