I have troubles with my VS2013 Express Wpf Designer. He won't load the views in wich I use Custom converters. The application compile and run fine and my converters work as expected. But in design mode, I keep getting "The name {converterClassName} does not exist in the namespace {namespace}"
Thing is, while I don't use the designer to create the view, I use it to have an idea of what I am doing will look like without having to debug, so I'll be super glad if it could work again.
Global View :
(Pardon my Frenchiness)
Details :
I reference my namespace (wich belongs to the same assembly than the view this way :
<UserControl xmlns:converters="clr-namespace:Sequenceur.ProdUI.IHM.Converters">
Declare the ressource this way :
<UserControl.Resources>
<converters:BoolToVisibility x:Key="visibilityConverter"/>
</UserControl.Resources>
(The problem is the same with a Window)
And use my converter this way :
<MenuItem Header="Maintenance" Visibility="{Binding Path=AdminMode, Converter={StaticResource ResourceKey=visibilityConverter}}">
The converter itself
It's a simple IValueConverter
realization, nothing fancy.
In all my other projects, the designer load just fine even with converters. You may like to know that I have made some dirty copy/past with my view from an other project, it must come from that, but i can't see where...