c# - Visual Studio 2013 Express WPF Deigner load failure -
c# - Visual Studio 2013 Express WPF Deigner load failure -
i have troubles vs2013 express wpf designer. won't load views in wich utilize custom converters. application compile , run fine , converters work expected. in design mode, maintain getting "the name {converterclassname} not exist in namespace {namespace}"
thing is, while don't utilize designer create view, utilize have thought of doing without having debug, i'll super glad if work again.
global view :
(pardon frenchiness)
details :
i reference namespace (wich belongs same assembly view way :
<usercontrol xmlns:converters="clr-namespace:sequenceur.produi.ihm.converters"> declare ressource way :
<usercontrol.resources> <converters:booltovisibility x:key="visibilityconverter"/> </usercontrol.resources> (the problem same window)
and utilize converter way :
<menuitem header="maintenance" visibility="{binding path=adminmode, converter={staticresource resourcekey=visibilityconverter}}"> the converter itself
it's simple ivalueconverter realization, nil fancy.
in other projects, designer load fine converters. may know have made dirty copy/past view other project, must come that, can't see where...
i have had similar problems vs 2012, converters resources resx files. i'm afraid don't have solution works every time, inspiring myself similar questions such this one , this one, switch between solution configuration "debug 86" , "debug cpu" couple of times, cleaning , rebuilding till problem goes away (it doesn't works first time).
if doesn't work, answers in above link mention other solutions haven't personnaly tried, including adding assembly info clr-namespace or changing output path.
i have seen solution consists of creating new project rid of error these errors tend recurring, temporary solution (and annoying 1 @ that, when working source control).
c# wpf xaml visual-studio-2013 visual-studio-express
Comments
Post a Comment