GenericExpressionDark.xaml error after Q3 upgrade

40 posts, 0 answers
  1. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 11 Nov 2010 Link to this post

    Upgraded my VS 2008 WPF project (two, in fact) with the Q3 release today using the Upgrade Wizard. Now when I switch to the Design view of any page I get the following error:

    Error   1   '/Telerik.Windows.Controls;component/Themes/GenericExpressionDark.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls;Component/themes/Expression/Dark/BusyIndicator.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Line '142' Position '39'.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls;component/Themes/GenericExpressionDark.xaml'.  Error at object 'System.Windows.ResourceDictionary'.   C:\Documents and Settings\akedzier\My Documents\Visual Studio 2008\Projects\DSD_MissionsBoards\DSD_MissionsBoards\Scenes\Scene_07.xaml   104   33   DSD_MissionsBoards


    I'm not using GenericExpressionDark.xaml anywhere in my project, so I'm just a little confused.

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  2. Gregory
    Gregory avatar
    47 posts
    Member since:
    Sep 2010

    Posted 15 Nov 2010 Link to this post

    Looks like i am not the only one getting this problem :(, sins i upgraded i also got same problem, I am also using 2008

    So i degraded and am working with Q2 again

    Do u have a solution to this yet?

    Regards
  3. UI for WPF is Visual Studio 2017 Ready
  4. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 15 Nov 2010 Link to this post

    After upgrade I have the same problem in VS 2008 and 2010 with .NET 3.5 and 4.0. The error occur with RadComboBox, with other controls not tested.

    regards
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 15 Nov 2010 Link to this post

    Hello Art,


    Could you please share with us a little bit more info about your particular scenario. Are you trying to modify a built-in theme or creating a custom one?
    It could be great if you can send us a small application so that we can investigate the issue locally.


    All the best,
    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 15 Nov 2010 Link to this post

    I am not trying to modify a built-in theme or create a custom one; I simply used the upgrade wizard to update my existing project with the Q3 release. This error throws with different controls in either project, no control is utilizing a theme.

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  7. Benoit
    Benoit avatar
    2 posts
    Member since:
    Nov 2010

    Posted 15 Nov 2010 Link to this post

    I get the same error with RadButton...
  8. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 15 Nov 2010 Link to this post

    I started a new wpf project (Win7, VS2008) with references to 'Telerik.Windows.Controls', 'Telerik.Windows.Controls.Input', 'Telerik.Windows.Controls.Navigation', 'Telerik.Windows.Data'. Then added new wpf window and RadComboBox. Everything OK. After adding reference to Telerik.Windows.Controls.GridView no designer view.

    Error   1   '/Telerik.Windows.Controls.Input;component/Themes/GenericExpressionDark.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls.Input;component/themes/Expression/Dark/ComboBox.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Line '7' Position '230'.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Input;component/Themes/GenericExpressionDark.xaml'.  Error at object 'System.Windows.ResourceDictionary'.   C:\Users\evald\AppData\Local\Temporary Projects\WpfApplication1\Window1.xaml   7   9   WpfApplication1

    regards
  9. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 15 Nov 2010 Link to this post

    To followup on Evald's comment, I also use RadGrid extensively in both projects.

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  10. Gregory
    Gregory avatar
    47 posts
    Member since:
    Sep 2010

    Posted 15 Nov 2010 Link to this post

    I used the grid and the progress indicator
    both throws the same exception
  11. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 15 Nov 2010 Link to this post

    Hi Benoit,


    This is really strange issue due to the fact I am not capable to reproduce it locally using the steps you desribed. Can you clarify that you did not  have any other version of RadControls installed on your machine?
     
    You may try to reinstall the version of RadControls you are currently using try the one again and let me know how it goes.

    Kind regards,
    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. Gregory
    Gregory avatar
    47 posts
    Member since:
    Sep 2010

    Posted 15 Nov 2010 Link to this post

    Hi Vanya

    Is there any reason why telerik would crash if we do not uninstal the previous version of wpf radcontrols?

    Regards
  13. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 15 Nov 2010 Link to this post

    I have not installed any version of RadControls (no dll's in GAC), I'm using different binaries in different projects.

    Regards
    Evald
  14. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 15 Nov 2010 Link to this post

    Hi Evald and Gregory,


    Any attempt to use binaries with different version may result in similar errors. In these cases the references assemblies are incompatible and if you want to be completely synchronized the best approach is to use binaries with same version.

    Kind regards,
    Vanya Pavlova
    the Telerik team
    See What's New in RadControls for WPF in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
  15. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 15 Nov 2010 Link to this post

    Hi Vanya,

    what is the solution in case when I must fix bugs in project with older telerik version and develop newer version with new telerik?

    regards
    Evald
  16. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 15 Nov 2010 Link to this post

    I have uninstalled both the Q2 and Q3 installations, reinstalled Q3, rebuilt the toolbox and still no relief. Same error.

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  17. Benoit
    Benoit avatar
    2 posts
    Member since:
    Nov 2010

    Posted 15 Nov 2010 Link to this post

    Hi

    I am using a freshly installed Q3 version (WPF).

    Cheers,


  18. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 16 Nov 2010 Link to this post

    Hello Art Kedzierski,

    Could you please send us this example that demonstrates this approach along with the binaries?


    Best wishes,
    Vanya Pavlova
    the Telerik team
    See What's New in RadControls for WPF in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
  19. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 16 Nov 2010 Link to this post

    I have added telerik DLLs which I need in GAC and problem was solved (Win7, VS 2010, WPF 4.0).
  20. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 16 Nov 2010 Link to this post

    The only Telerik DLLs I show in my GAC are Telerik.Web.Design 2010.3.1109.20 and 2010.3.1109.35 (for ASP AJAX). Should the WPF DLLs be in there?

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  21. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 16 Nov 2010 Link to this post

    In GAC should be DLLs which you use in your project references.
  22. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 16 Nov 2010 Link to this post

    OK, I added all the Q3 WPF DLLs to the GAC as suggested and now the error appears in the Design frame as well as the Output frame. I suppose that's some sort of improvement.

    Error   1   '/Telerik.Windows.Controls;component/Themes/GenericExpressionDark.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls;Component/themes/Expression/Dark/BusyIndicator.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Line '142' Position '39'.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls;component/Themes/GenericExpressionDark.xaml'.  Error at object 'System.Windows.ResourceDictionary'.   C:\Documents and Settings\akedzier\My Documents\Visual Studio 2008\Projects\DT2_MissionBoard_v2\DT2_MissionBoard\App.xaml   212   25   DT2_MissionBoard

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  23. Evald
    Evald avatar
    8 posts
    Member since:
    Mar 2010

    Posted 16 Nov 2010 Link to this post

    You are right - for VS 2008 WPF35 it's not working.
  24. Gregory
    Gregory avatar
    47 posts
    Member since:
    Sep 2010

    Posted 17 Nov 2010 Link to this post

    Im guessing VS2008 WPF 3.5 is the problem then?
    Using (Windows 7 64Bit, VS2008 WPF3.5)
    Got the Same Error when adding items in GAC aswel
  25. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 17 Nov 2010 Link to this post

    Gregory: appears to be the so from the trend.

    I'm not due for a desktop and platform refresh till Q2 2011 so I'm hoping this gets acknowledged as a bug soon. I know the Telerik support team is running VS2010 as they keep sending me project samples I can't open yet. ;-p

    (WinXP SP3, VS2008 SP1, WPF 3.5)
  26. Gregory
    Gregory avatar
    47 posts
    Member since:
    Sep 2010

    Posted 18 Nov 2010 Link to this post

    Art

    It looks the same to me aswel, i'm guessing that they never tested on VS2008
    I also know they using Expression Blend 4 as they sent me Video before on another problem i had

    I'm hoping that this is bug listed and will get fixed in the future inner build :\

    So Now im testing in VS 2010, and the first thing is that if i create a RadWPF app, there is no items to select, this also happens in the upgrade wizard, Must be a bug cause i got the same on my previous laptop, and on other computers with VS2010
    as shown here -> http://screencast.com/t/Y8ebhBYZE66
    So i created a normal wpf web and added DLL's
    Added a grid and added the new funky Expression_Dark theme without anything braking :)

    Testing this in WPF 3.5 VS 2008, and i get a Diffrent result
    So i created the telerik WPF project with no hassels
    only the new controls is selected (Q3)
    and then i get that error when i place a grid on the form, well basically i get that error with any other control aswel
    here is a link to the vid i took for that project
    http://screencast.com/t/mVDmp64rR

    I also noticed a setup bug for the new Q3 installer, it installs more than 1 of the very same control for into VS2008 Q3 -> again in 2010 this does not happen aswel

    Regards
  27. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 18 Nov 2010 Link to this post

    I also had a support ticket for this issue and finally got a work-around.

    Go to the default install location (mine was C:\Program Files\Telerik\RadControls for WPF Q3 2010\Binaries\WPF) and remove the Design folder. Reopen your solution.

    Viola.

    Perhaps they will fix that in an interim release.
  28. Gregory
    Gregory avatar
    47 posts
    Member since:
    Sep 2010

    Posted 18 Nov 2010 Link to this post

    im glad u figured this out :)
    but the problem is i still want to use the design styles, so maybe just delete the Expression.Design.dll's so that just they do not load?

    ill test later =P

    Thanks for that
    Looks like telerik needs to get this fix in new internal build
    Hope this happens soon
  29. Pana
    Admin
    Pana avatar
    748 posts

    Posted 23 Nov 2010 Link to this post

    Hi Gregory,

    The only current known workaround is to delete the design assemblies. We will try to fix this issue for one of the upcoming service packs.

    Kind regards,
    Pana
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  30. Angshuman
    Angshuman avatar
    17 posts
    Member since:
    Nov 2010

    Posted 20 Dec 2010 Link to this post

    I too get the same error - I am primarily using the RadChart control. Thankfully the workaround works :)
  31. Julio Colon
    Julio Colon avatar
    13 posts
    Member since:
    May 2010

    Posted 22 Dec 2010 Link to this post

    Has someone in Telerik fixed this issue?  I am having the same problem in VS2010 with a WPF 3.5 project.

    Deleting the design folder is not working for me. :-(

Back to Top
UI for WPF is Visual Studio 2017 Ready