The type initializer for 'Microsoft.Expression.Platform.Silverlight.Metadata.FrameworkElementMetadata' threw an exception

Locked The type initializer for 'Microsoft.Expression.Platform.Silverlight.Metadata.FrameworkElementMetadata' threw an exception

  • Friday, September 14, 2012 10:18 AM
     
     

    Hi,

    Any idea why we can't use the Visual Studio designer ? after a complete rebuild we get this error and the designer shows nothing.
    Since it says Microsoft.Expression I thought it would be more suitable to be posted here instead of Visual Studio !
    If you think I'm not at the right place and you know a better one, please let me know and I'll go post there.

    The type initializer for 'Microsoft.Expression.Platform.Silverlight.Metadata.FrameworkElementMetadata' threw an exception

All Replies

  • Friday, September 14, 2012 10:28 AM
     
     

    I posted on a Visual Studio forum in case it would be more suitable there :

    http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/fa32ab9a-dbd7-425a-b941-9737d738210d

  • Friday, September 14, 2012 6:25 PM
     
     

    I started getting the EXACT same error today.

    Are you using any Telerik controls?  ... that's all I've changed today and that's when I started getting this error in the designer.   

    Also getting another bizarre error:

    Value cannot be null.  Parameter name: key??

    My code has not changed, the only change was updated to the newest Telerik RadControls 2012 Q2 0912.

  • Friday, September 14, 2012 10:49 PM
     
     

    Yes I'm using Telerik controls for Silverlight and me too it started to do that after installing their new version but I don't know for sure

  • Friday, September 14, 2012 11:31 PM
     
     

    I changed my project references back to Q2 2012 0725 version and I no longer have the problem.  So this is definitely something to do with the latest 0912 version of Telerik RadControls.

    I've opened a support ticket with Telerik and posted in there forum:  Telerik RadControls 0912 Issue

    In the meantime, I'd recommend going back to version 0725.

    Rob

  • Saturday, September 29, 2012 11:40 AM
     
     Answered

    Solved by Telerik

    • Marked As Answer by GearWorld Saturday, September 29, 2012 11:40 AM
    •