I know when this problem starts, when drag and drop the RadWindow to your MainWindow! I tested it, but maybe some other controls do something like this but I don't know which of them.
Posted on:24 Oct 2017 11:11
This seems as a designer caching issue, so I will decline the bug report. Lets continue resolving this in the ticket thread.
Posted on:15 Oct 2017 10:07
I found out the controls assembly was taken from the noxaml dir at my solution dir.
Changed it to take the dll from program files at the regular binaris dir, and it works, but I can't see the theme in design time now.
Posted on:15 Oct 2017 08:29
I'm not sure if I have noXAML dlls or XAML dlls.
I've just created a standard telerik solution, but I can see a RCWPF\2017.3.913.45.NoXaml.Trial dir in my solution.
As I said, standard telerik solution, with x86 for every project.
I tried clearing the cache as you said.
Now I get an exception I've got before - image attached.
Such issues commonly appear when the VS designer caches some data. Or when there is a mixing of Xaml and NoXaml dlls (https://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-setting-a-theme-overview). Here are few things which you can try to troubleshoot the issue.
- Double check if all dlls are of the same version - they are all Xaml or NoXaml. Please note that we don't recommend mixing both.
- Check if the project is build for x64 architecture. If so, there is a known issue similar to yours.
- Delete the shadow cache of Visual Studio's designer. You can do that by going into the "%LOCALAPPDATA%\Microsoft\VisualStudio\12.0\Designer\ShadowCache" folder and deleting its content. Note that the number "12.0" in the folder's path represents the version of Visual Studio, so it could differ based on the version you have installed.
When you do this you close all opened .xaml file tabs in Visual Studio and then close the program. Manually delete the "bin" and "obj" folders of your project. And then re-open Visual Studio, and Clean/Rebuild the solution.
Can you please try those suggestion and let me know how it goes?
Technical Support Engineer