[v1.3] Error after dockableContent swich to floating

Jun 29, 2010 at 10:05 AM
Edited Jun 29, 2010 at 10:07 AM

Hi,

When i click on the float option in a dockable window and then move the window a error was occur.

Cannot find resource named '{DefaultAvalonDockImageStyle}'. Resource names are case sensitive.  Error at object 'System.Windows.Controls.Image' in markup file'AvalonDock;component/Resources/OverlayWindowStyle.xaml'.

With Version [v1.2] .Net 3.5 it works fine.

 

Thank you for your help!

Jun 29, 2010 at 10:56 AM

Hi,

did you build AvalonDock sources? or are you using release dlls?

Jun 29, 2010 at 11:25 AM

Hi,

 

i use the release dll (3.5)

Jun 29, 2010 at 11:33 AM

hi,

 

i tested it for the .net 4 version. here does the same errors as for 3.5

 

Jun 29, 2010 at 12:29 PM

Hi, seems I found the problem, could you confirm if you explicitly load a theme dictionary with a line like this:

<ResourceDictionary Source="/AvalonDock;component/themes/aero.normalcolor.xaml"/>

if so for the moment try to not load a theme different from generic one, I suppose the problem is related to the build process of AvalonDock for .NET 4 and 3.5,

Thanks

Jun 29, 2010 at 12:34 PM

Hi,

Thanks for the fast support.