Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Type StyleSheet not found in xmlns /schemas/2014/forms

$
0
0

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...


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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