This is a migrated thread and some comments may be shown as answers.

Object does not match target type > App.xaml

1 Answer 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
developer
Top achievements
Rank 2
developer asked on 11 Dec 2013, 04:14 PM
I downloaded the most recent source code and called the "Build_WPF40_Xamlless.bat 12/11/2013" to build the Release.NoXaml .NET 4 .DLLs.  In my App.xaml, I'm merging dictionaries:  

<ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/System.Windows.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.Input.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.Chart.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.Data.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.GridView.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.RibbonView.xaml" />
    <ResourceDictionary Source="Resource Dictionaries/MyDictionary.xaml" />
</ResourceDictionary.MergedDictionaries>

and I'm getting a Object does not match target type in App.xaml during design time.  If I delete the line:

<ResourceDictionary Source="/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />

The error goes away.  Is there anything I can do to get ride of this error?


1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 13 Dec 2013, 12:40 PM
Hello Kevin,

I have tried to reproduce the described issue, but without much success. Could you please confirm that you've built the source of Q3 2013 SP release? Can you send us a small demo project?

Looking forward to your reply.

Regards,
Yana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
developer
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or