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

GenericExpressionDark.xaml error after Q3 upgrade

39 Answers 424 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Art Kedzierski
Top achievements
Rank 2
Art Kedzierski asked on 11 Nov 2010, 10:39 PM
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)

39 Answers, 1 is accepted

Sort by
0
KobusVisagie
Top achievements
Rank 1
answered on 15 Nov 2010, 12:47 PM
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
0
Evald
Top achievements
Rank 1
answered on 15 Nov 2010, 01:16 PM
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
0
Vanya Pavlova
Telerik team
answered on 15 Nov 2010, 01:17 PM
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
0
Art Kedzierski
Top achievements
Rank 2
answered on 15 Nov 2010, 01:48 PM
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)
0
Benoit
Top achievements
Rank 1
answered on 15 Nov 2010, 01:52 PM
I get the same error with RadButton...
0
Evald
Top achievements
Rank 1
answered on 15 Nov 2010, 02:10 PM
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
0
Art Kedzierski
Top achievements
Rank 2
answered on 15 Nov 2010, 02:22 PM
To followup on Evald's comment, I also use RadGrid extensively in both projects.

(WinXP SP3, VS2008 SP1, WPF 3.5)
0
KobusVisagie
Top achievements
Rank 1
answered on 15 Nov 2010, 02:29 PM
I used the grid and the progress indicator
both throws the same exception
0
Vanya Pavlova
Telerik team
answered on 15 Nov 2010, 02:39 PM
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
0
KobusVisagie
Top achievements
Rank 1
answered on 15 Nov 2010, 02:45 PM
Hi Vanya

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

Regards
0
Evald
Top achievements
Rank 1
answered on 15 Nov 2010, 02:47 PM
I have not installed any version of RadControls (no dll's in GAC), I'm using different binaries in different projects.

Regards
Evald
0
Vanya Pavlova
Telerik team
answered on 15 Nov 2010, 03:24 PM
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>>
0
Evald
Top achievements
Rank 1
answered on 15 Nov 2010, 03:36 PM
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
0
Art Kedzierski
Top achievements
Rank 2
answered on 15 Nov 2010, 04:03 PM
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)
0
Benoit
Top achievements
Rank 1
answered on 15 Nov 2010, 04:28 PM
Hi

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

Cheers,


0
Vanya Pavlova
Telerik team
answered on 16 Nov 2010, 08:12 AM
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>>
0
Evald
Top achievements
Rank 1
answered on 16 Nov 2010, 01:01 PM
I have added telerik DLLs which I need in GAC and problem was solved (Win7, VS 2010, WPF 4.0).
0
Art Kedzierski
Top achievements
Rank 2
answered on 16 Nov 2010, 02:45 PM
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)
0
Evald
Top achievements
Rank 1
answered on 16 Nov 2010, 02:52 PM
In GAC should be DLLs which you use in your project references.
0
Art Kedzierski
Top achievements
Rank 2
answered on 16 Nov 2010, 03:11 PM
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)
0
Evald
Top achievements
Rank 1
answered on 16 Nov 2010, 03:27 PM
You are right - for VS 2008 WPF35 it's not working.
0
KobusVisagie
Top achievements
Rank 1
answered on 17 Nov 2010, 02:12 PM
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
0
Art Kedzierski
Top achievements
Rank 2
answered on 17 Nov 2010, 02:33 PM
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)
0
KobusVisagie
Top achievements
Rank 1
answered on 18 Nov 2010, 09:40 AM
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
0
Art Kedzierski
Top achievements
Rank 2
answered on 18 Nov 2010, 02:22 PM
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.
0
KobusVisagie
Top achievements
Rank 1
answered on 18 Nov 2010, 04:16 PM
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
0
Pana
Telerik team
answered on 23 Nov 2010, 04:08 PM
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
0
Angshuman
Top achievements
Rank 2
answered on 20 Dec 2010, 12:10 PM
I too get the same error - I am primarily using the RadChart control. Thankfully the workaround works :)
0
Julio Colon
Top achievements
Rank 1
answered on 22 Dec 2010, 11:46 PM
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. :-(

0
Sia
Telerik team
answered on 28 Dec 2010, 11:31 AM
Hello Julio Colon,

As my colleague said this issue will be addressed with one of our upcoming service packs.
Can you please give us more details about what is installed on your computer and the version of the binaries so that we can investigate why the workaround does not help you?

Kind regards,
Sia
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Kais
Top achievements
Rank 1
answered on 29 Jan 2011, 09:41 PM
Hi there, 

I've got the same problem, can't view any UserControl that has a telerik control on it in the designer. Deleting the design folders does not work in my case. 

Using VS2008 SP1, .NET 3.5 SP1 and Telerik Q3 2010 1314 release. 

Thanks, 
0
Milan
Telerik team
answered on 31 Jan 2011, 11:25 AM

Hi Kais,

Are there any errors shown? Could you please paste the error messages that appear.



Kind regards,
Milan
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Kais
Top achievements
Rank 1
answered on 31 Jan 2011, 04:17 PM
Hi there, 

The error text in designer is pasted below. This occurs whenever I have a telerik control referenced in the Xaml of a WPF usercontrol. 

Thanks, 

'/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'.
   at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
   at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId)
   at System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(BamlPropertyWithConverterRecord bamlPropertyRecord)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
   at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
   at System.Windows.Markup.TreeBuilder.Parse()
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.SystemResources.ResourceDictionaries.LoadDictionary(Assembly assembly, String assemblyName, String resourceName, Boolean isTraceEnabled)
   at System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary(Boolean isTraceEnabled)
   at System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
   at System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
   at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
   at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
   at System.Windows.FrameworkElement.OnThemeStyleKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.StyleManager.OnThemeChanged(DependencyObject target, DependencyPropertyChangedEventArgs changedEventArgs) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Common\StyleManager.cs:line 133
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
   at System.Windows.TemplateApplicationHelper.SetDependencyValueCore(DependencyObject dependencyObject, DependencyProperty dp, Object value)
   at System.Windows.Markup.BamlRecordReader.SetDependencyValue(DependencyObject dependencyObject, DependencyProperty dependencyProperty, Object value)
   at System.Windows.Markup.BamlRecordReader.SetPropertyValue(Object o, PropertyDefinition propertyDefinition, Object value)
   at System.Windows.Markup.BamlRecordReader.BaseReadOptimizedMarkupExtension(Object element, Int16 attributeId, PropertyDefinition propertyDefinition, Object value)
   at System.Windows.Markup.BamlRecordReader.ReadPropertyWithStaticResourceIdRecord(BamlPropertyWithStaticResourceIdRecord bamlPropertyWithStaticResourceIdRecord)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   at System.Windows.StyleHelper.LoadOptimizedTemplateContent(DependencyObject container, ParserContext parserContext, OptimizedTemplateContent optimizedTemplateContent, FrameworkTemplate frameworkTemplate, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
   at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
   at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
   at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(Size constraint) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 6485
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
 
  
'/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'.
   at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
   at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId)
   at System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(BamlPropertyWithConverterRecord bamlPropertyRecord)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
   at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
   at System.Windows.Markup.TreeBuilder.Parse()
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
   at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
   at System.Windows.ResourceDictionary.set_Source(Uri value)
 
  
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'.
   at System.Windows.Markup.XamlReaderHelper.RethrowAsParseException(String keyString, Int32 lineNumber, Int32 linePosition, Exception innerException)
   at System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlNode)
   at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
   at System.Windows.Markup.XamlParser._Parse()
   at System.Windows.Markup.XamlParser.Parse()
   at System.Windows.Markup.StyleXamlTreeBuilder.ParseFragment()
   at System.Windows.Markup.XamlStyleSerializer.ConvertXamlToObject(XamlReaderHelper tokenReader, ReadWriteStreamManager streamManager, ParserContext context, XamlNode xamlNode, BamlRecordReader reader)
   at System.Windows.Markup.TreeBuilderXamlTranslator.WriteElementStart(XamlElementStartNode xamlElementStartNode)
   at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode, Boolean& cleanup, Boolean& done)
   at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
   at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()
   at System.Windows.Markup.XamlParser.Parse()
   at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
   at System.Windows.Markup.TreeBuilder.Parse()
   at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc, Stream stream, XamlParseMode parseMode, Boolean etwTracingEnabled)
   at System.Windows.Markup.XamlReader.Load(Stream stream, ParserContext parserContext)
   at MS.Internal.AppModel.AppModelKnownContentFactory.XamlConverter(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
   at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
   at System.Windows.ResourceDictionary.set_Source(Uri value)
 
  
Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
   at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)
   at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, RuntimeType caType)
   at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean inherit)
   at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)
   at System.Windows.Markup.XmlnsCache.GetClrnsToAssemblyNameMappingList(Assembly[] asmList, String xmlnsRequested)
   at System.Windows.Markup.XmlnsCache.GetMappingArray(String xmlns)
   at System.Windows.Markup.XamlTypeMapper.GetClrNamespacePairFromCache(String namespaceUri)
   at System.Windows.Markup.XamlTypeMapper.GetNamespaceMapEntries(String xmlNamespace)
   at System.Windows.Markup.XamlTypeMapper.CreateTypeAndSerializer(String xmlNamespace, String localName)
   at System.Windows.Markup.XamlTypeMapper.GetTypeAndSerializer(String xmlNamespace, String localName, Object dpOrPiorMi)
   at System.Windows.Markup.XamlParser.GetElementType(XmlReader reader, String localName, String namespaceUri, String& assemblyName, String& typeFullName, Type& baseType, Type& serializerType)
   at System.Windows.Markup.XamlReaderHelper.GetElementType(Boolean extensionFirst, String localName, String namespaceURI, String& assemblyName, String& typeFullName, Type& baseType, Type& serializerType)
   at System.Windows.Markup.XamlReaderHelper.System.Windows.Markup.IParserHelper.GetElementType(Boolean extensionFirst, String localName, String namespaceURI, String& assemblyName, String& typeFullName, Type& baseType, Type& serializerType)
   at System.Windows.Markup.MarkupExtensionParser.GetExtensionType(String typename, String attributeValue, Int32 lineNumber, Int32 linePosition, String& namespaceURI, String& targetAssemblyName, String& targetFullName, Type& targetType, Type& serializerType)
   at System.Windows.Markup.MarkupExtensionParser.FillAttributeData(Type declaringType, String propIdName, String typename, String args, String attributeValue, Int32 lineNumber, Int32 linePosition, Int32 depth, Object info)
   at System.Windows.Markup.MarkupExtensionParser.IsMarkupExtensionAttribute(Type declaringType, String propIdName, String& attrValue, Int32 lineNumber, Int32 linePosition, Int32 depth, Object info)
   at System.Windows.Markup.XamlReaderHelper.WritePropertyAttribute(Type parentType, HybridDictionary resolvedProperties, String attribLocalName, String attribName, String attribNamespaceURI, String attribValue, Object dynamicObject, String assemblyName, String declaringTypeFullName, String dynamicObjectName, Type declaringType, Int32 lineNumber, Int32 linePosition, Int32 depth, ArrayList& markupExtensionList)
   at System.Windows.Markup.XamlReaderHelper.WriteAttributes(Type parentType, String parentTypeNamespace, String unknownTagName, Int32 depth)
   at System.Windows.Markup.XamlReaderHelper.CompileElement(String assemblyName, String typeFullName, Int32 depth, Type serializerType, String namespaceURI, Boolean isEmptyElement, Boolean& needToReadNextTag)
   at System.Windows.Markup.XamlReaderHelper.CompileBamlTag(XmlNodeType xmlNodeType, Boolean& endTagHasBeenRead)
   at System.Windows.Markup.XamlReaderHelper.ReadElementNode()
   at System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlNode)
0
Vlad
Telerik team
answered on 03 Feb 2011, 03:50 PM
Hi,

 I've just tried this with our Q3 2010 Sp1 however everything worked fine on my end - screenshot and application attached. Can you try the same application at your end to see what will be the result?

Greetings,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Kais
Top achievements
Rank 1
answered on 04 Feb 2011, 08:22 AM
Hi Vlad, 

Thanks for the example project. I downloaded this an extracted it, I noticed there are no references to Telerik DLLs in the project. I believe I know where the problem lies. I am storing the Telerik dlls in a Libs/Telerik folder at the root level of my solution (to fit witht he pattern for other third party DLLs in my application). When I reference these by using Project->References->Browse (the navigate to Libs folder) I still see the GenericXaml error. These are the DLLs from the Q3 2010 1314 hotfix download (Binaries only). 

When I instead reference them by Project->References->.NET (Choose telerik libs from the list) I do not see the GenericXaml error. 

Its likely a GAC issue as someone has pointed out before. Hence the reason that deployment with the DLLs in the target folder does not affect the running of the app, but does disturb the designer views. 

Im going to do some more testing. If this is the resolution then I will reference Telerik DLLs from the cached list as opposed to a local DLL. 

Best regards, 
0
Kais
Top achievements
Rank 1
answered on 04 Feb 2011, 09:10 AM
Actually, after deleting local libs and referencing only the installed libs, restarting the computer, clean rebuild, I still get this problem. 

I also opened up the WpfApplication1 sample you posted above and I have the same GenericXaml exception in the designer window that I see in my main app. 

Very frustrating! Basically I cannot view telerik controls in the designer. 

Any ideas?
0
Vlad
Telerik team
answered on 10 Feb 2011, 09:14 AM
Hello,

 Sorry for the references - it seems that I've missed to save the project however the binaries are in the bin folder. I've re-attached the same project in order to check it at your end.

All the best,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Julio Colon
Top achievements
Rank 1
answered on 14 Mar 2011, 10:29 PM
I found something interesting today... it doesnt fix it, but maybe helps understand the problem.

I had a brand new PC with my project code which reference only DLL, these are pulled directly from my repository.  My solution worked fine with SP3 SP1, but as soon as I installed Q3 SP1 using the complete option in the .msi package my code stopped working and the "/Telerik.Windows.Controls.Input;component/themes/Expression/Dark" problem started again.

0
Julio Colon
Top achievements
Rank 1
answered on 17 Mar 2011, 03:51 PM
Upgrading to Q1 2011 Beta fixed the problem for me.
Tags
General Discussions
Asked by
Art Kedzierski
Top achievements
Rank 2
Answers by
KobusVisagie
Top achievements
Rank 1
Evald
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Art Kedzierski
Top achievements
Rank 2
Benoit
Top achievements
Rank 1
Pana
Telerik team
Angshuman
Top achievements
Rank 2
Julio Colon
Top achievements
Rank 1
Sia
Telerik team
Kais
Top achievements
Rank 1
Milan
Telerik team
Vlad
Telerik team
Share this question
or