g3nuine g3nuine - 2 months ago 37
C# Question

Microsoft Ribbon doesn't render in Designer

I'm using thbe Microsoft Ribbon for WPF (System.Windows.Controls.Ribbon) and VS2015. Since I removed unnecessary depencies from my project (like Dynamic Data Display etc, things not related to the ribbon) it does not render correctly in the Designer anymore. All RibbonButtons get rendered as usual buttons and so on.

I used the Clean Solution option and also rebuild multiple times, without sucess. While execution everything is fine, just the designer can't handle the ribbon anymore. What could have caused this strange behaviour?

This is how my ribbon looks now in the designer:
enter image description here

And this is how it's supposed to look and looked before:
enter image description here

Update: it clearly seems to be a visual studio bug, as I opened the project on another machine with the same VS version and there everything is fine.


The problem was resolved by clearing the Visual Studio Designer Cache. This is done by deleting the subfolders in %LOCALAPPDATA%\Microsoft\VisualStudio\14.0\Designer\ShadowCache