AG_E_PARSER_BAD_TYPE error when using DataForm control in Prism / silverlight 3

I am using prism and SL3, as soon as I remove DataForm Control in any modules I get this error:

AG_E_PARSER_BAD_TYPE [Line: 6 Position: 31]
at System.Windows.Application.LoadComponent(Object component, Uri 
  resourceLocator)
at HelloWorldModule.Views.HelloWorldView.InitializeComponent()
at HelloWorldModule.Views.HelloWorldView..ctor()

      

I don't get this error if I remove the DataForm control in my Shell.xaml, only if I omit any views in the modules. Can anyone shed some light?

+1


a source to share


2 answers


You need to add Microsoft.Windows.Controls to your ModuleManifest.xaml ..



+3


a source


Yes ... you need to add a link to the dll. This worked for me.



+1


a source







All Articles