A project I'm working on for a client, that uses Telerik WPF controls gives errors in VS 2015 XAML Designer.
The project builds though, but the designer is not able to render the XAML, and this is important at this particular occasion.
For this XAML code produces the error: Assembly 'Telerik.Windows.Themes.Green' is not referenced by this project
<Application
x:Class="nspace.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:Custom="http://schemas.microsoft.com/wpf/2008/toolkit"
>
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.Chart.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.Docking.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.Input.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.GridView.xaml" />
</ResourceDictionary.MergedDictionaries>
<BooleanToVisibilityConverter x:Key="BoolToVis" />
</ResourceDictionary>
</Application.Resources>
</Application>
And everywhere through the project where some control is used, for example : "<telerik:Label" produces " "The name "Label" does not exist in the namespace"http://schemas.telerik.com/2008/xaml/presentation".
Also looks like this is an issue only under VisualStudio 2015. I have tried cleaning the solution, rebuilding, changing to debug/release, adding attribute and manually deleting the shadow cache of visual studio but to no avail.
I will greatly appreciate your help. Thank you.