Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Unhandled Exception: System.NullReferenceException: NavigationPage could not be created.

$
0
0

Hi,

I am developing a new project with Prism.. I am new with Prism.

After I have created two new pages, I decided to delete the default mainpage.xaml from my project... I delete fisically.

After that, my project stops running... it still builds, but when I run it, it almost loads in my emulator, but one second after, I saw this message:

_**Unhandled Exception:

System.NullReferenceException: NavigationPage could not be created. Please make sure you have registered NavigationPage for navigation. occurred**_

I would like to know if this error is becouse of the deleted files, and if there is some fix for that.

Attached, is my screen pointing to the error line... The page name "NavigationPage/AccessPage" exists and it is registered, as you can see in the method RegisterTypes.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>