is a button component that we provide for Design Time
that allows for theme selection and change for the application. It should appear in the top right corner of the designer. While unpleasant, this error should not cause any problem Runtime
. It should appear only with noXAML
assemblies, so might be caused by different type of assemblies (XAML-included
) present in the project(s).
But since you are receiving such a generic error when running the application, I could suggest cleaning the projects, closing Visual Studio
, cleaning the bin
files for each project (as sometimes cached assemblies cause such problems), opening VS
again and rebuilding. Make sure that all the assemblies that you are using in the application are the same version and type (XAML
) for each project.
The designer errors could be caused as well from the Shadow Cache
of the designer, which sometimes is not updated properly. It is created so the design time could load faster. You can clean that manually after closing all VS
instances, but have in mind that is could be very large, so it might take some time deleting it. It is situated at C:\Users\,<user>\AppData\Local\Microsoft\VisualStudio\<version>\Designer\ShadowCache
If the issue persists, could I ask you to provide more information about your project or possibly a small isolation project, so we could be able to reproduce it.
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.