Cab't create a Router with Custom Pages

Hello everybody,
I try to create a Multi-Page App and introduce a router, like written in the docs. First of all I introduced the router and Navigator in the MainView.ux

<App>

	<Router ux:Name="router" />

	<ux:Include File="Resources.ux" />

	<Font File="Assets/Fonts/Roboto-Regular.ttf" ux:Global="MainFont" />
	<Navigator DefaultPath="firstPage">


	<Page ux:Template="firstPage">
		<ux:Include File="content.ux" />
	</Page>

	 <Page ux:Template="StartSelection" >
		<ux:Include File="Start.ux" />	
	</Page>
		</Navigator>

</App>

Then I create a Page called StartPage

<DefaultPage ux:Class="StartPage">
	<Router ux:Dependency="router" />
...

Now building the application gives me (for me correctly) the following message:

You can instantiate the class with <StartPage /> instead.

Now like mentioned in the Docs I changed my MainView.ux file to:

<App>

	<Router ux:Name="router" />

	<ux:Include File="Resources.ux" />

	<Font File="Assets/Fonts/Roboto-Regular.ttf" ux:Global="MainFont" />
	<Navigator DefaultPath="firstPage">


	<Page ux:Template="firstPage">
		<ux:Include File="content.ux" />
	</Page>

	 <Page ux:Template="StartSelection" >
		<StartPage />	
	</Page>
		</Navigator>

</App>

But now I’m getting the following error:

MainView.ux(16,1): Error : Data type not found: StartPage/Users/bgirr/WeddingFunApp/MainView.ux(16,1): Error : Could not resolve type 'StartPage'?: Error : The given key was not present in the dictionary.

Has someone an idea how to fix that issue?

General informations:
Fuse version 1.7.3 (build 15528)
macOS

The error You can instantiate the class with <StartPage /> instead. comes from a code block that you’re not showing. We won’t be able to tell what’s wrong without seeing a complete reproduction.

Other than that, your general approach seems to be okay, except that the StartPage instance in your Navigator also needs a ux:Template property, so you can navigate to it.