I am trying to put stylesheets into my forms.
So I have:
<ContentPage.Resources>
<StyleSheet Source="/Styles/Styles.css" />
</ContentPage.Resources>
I have spent around an hour trying to resolve this. First it would not build and it took me a while to realise that my Xamarin.Forms NuGet was out of date. So I updated to the latest and compiled.
Finally it built. However now when I run it into the live player, it crashes instantly and in the debug window I have the message "error: Position 9:10. Type StyleSheet not found in xmlns /schemas/2014/forms". So it seems back to square one.
Any help is appreciated.
*Couldn't put the full link for the schema as it won't let me...