XAML Error: Unexpected NONE in parse rule ElementBody ::= ATTRIBUTE
Recently I encountered odd error and I had no clue what this error means. After doing some BINGing I found that its related to empty elements.
Unexpected NONE in parse rule ElementBody ::= ATTRIBUTE* ( PropertyElement | Content )* . ENDTAG..
So if you ever receive above error in XAML page then first thing to inspect any empty elements such as below
<phone:PhoneApplicationPage.Resources />
Once you remove empty elements .. error goes away.
Hope this helps!!!
Leave a Reply
You must be logged in to post a comment.