Monday, May 26, 2014

XAML Parse Error: Failed to Create a Type from the Text

Recently, while working on a data template in XAML, I encountered this error:  


After lots of searching and testing, I found the issue. It ended up being with the following line:
 xmlns:viewModels="clr-namespace:RZP.Project.ViewModels"

It was missing the assembly name and that caused the error.  
xmlns:viewModels="clr-namespace:RZP.Project.ViewModels;assembly=RZP.Project"

1 comment:

  1. Thanks for this. I'd been stuck for about a week.

    ReplyDelete