[Version 2.0.1095] VS2010 Theme designer error

Jul 15, 2012 at 1:44 PM
Edited Jul 15, 2012 at 1:51 PM

I just switched from referencing a manually downloaded dll version to using NuGet, and it seems that by doing that, I got a newer version than the one I was already using.

And now I've got a very strange error. My project will build and run like normal and everything looks normal.

But the VS designer now claims that this XAML code (which worked before) is incorrect:

<avalonDock:DockingManager.Theme>
                 <avalonDock:VS2010Theme />
</avalonDock:DockingManager.Theme>

The error I get is: Property 'Theme' does not support values of type 'VS2010Theme'.

But it did before, and it does when I run the project.

Because of the error, the VS designer will no longer show my form of course, so that's quite irritating.

Does anybody know what's changed (the previous version I used was 2.0.795) ???

Jul 15, 2012 at 9:50 PM

Strange thing is: I tried creating a new project in the same solution, install avalondock via NuGet (same version). Then I copied the entire mainwindow code - only changed the window class name. And there it worked. Precisely same code and same AvalonDock version. STRANGE.