InvalidOperationException: Native type 'TypeConverter' is not registered
Hi,
I'm trying to implement a MarkupExtension like this:
And use it in XAML
And when I run above code in Blend everything works as expected but in Unity it throws: InvalidOperationException: Native type 'TypeConverter' is not registered
Do I need to register this somewhere and/or are there any workaround for this?
Thanks for answers!
I'm trying to implement a MarkupExtension like this:
Code: Select all
public class SomeExtension : MarkupExtension
{
public Type Type { get; set; }
public override object ProvideValue(IServiceProvider serviceProvider)
{
// Do something with Type
}
}
Code: Select all
<namespace:Some Type="{x:Type namespace:SomeType}"/>
Do I need to register this somewhere and/or are there any workaround for this?
Thanks for answers!
-
sfernandez
Site Admin
- Posts: 3008
- Joined:
Re: InvalidOperationException: Native type 'TypeConverter' is not registered
This is a bug in Noesis handling Type properties, could you please report it in our bugtracker?
I will provide a patch for you to try there.
I will provide a patch for you to try there.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 4 guests