MultiSelectTreeView icon indicating copy to clipboard operation
MultiSelectTreeView copied to clipboard

Getting a 'Prefix 'Controls' does not map to a namespace' error

Open AnotherKiwi opened this issue 8 years ago • 1 comments

I'm getting an error when base.OnInitialized(e); in the MultiSelectTreeViewItem.OnInitialized() method executes:

MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException occurred HResult=0x80131500 Message=Prefix 'Controls' does not map to a namespace. Source=System.Xaml StackTrace: at MS.Internal.Xaml.Parser.GenericTypeNameParser.Callout_FoundName(String prefix, String name)

I thought this might be related to MultiSelectTreeView using the System.Windows.Controls namespace, so I tried changing its namespace to UnclassifiedSoftware.Controls. After that change the demo app again runs without error, but I still get the Prefix 'Controls' does not map to a namespace when I run my application. Any suggestions to overcome this?

AnotherKiwi avatar Jul 12 '17 18:07 AnotherKiwi

I've solved this issue by updating the source code according to this answer: https://github.com/ygoe/MultiSelectTreeView/issues/41#issuecomment-333470178

perkasthor avatar Jun 12 '19 10:06 perkasthor