Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I can build and run the project without problems, but I can't load the xaml designer.
Any ideas?
Thomas
19 Answers, 1 is accepted
Did you get the same error when you use the assemblies from our latest service pack release?
Greetings,
Stefan Dobrev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I had the same problem with the latest release.
I have now changed to vs 2010 and .net 4.0 beta 2. With this configuration I don't get the error message anymore.
I got the same problem with the new beta.
.NET 4.0/VS 2010 is currently no option for me.
The weird thing is that it just occures with some xaml-files and I have no clue what causes this.
When adding and deleting emty lines in the xaml sometimes the designer shows up for a short period of time.
Also the error-position points to a standard-wpf-listbox (line: <ListBox.ItemTemplate>) which had no problems before.
I'm using the RadGridView in datatemplates for standard-wpf-listboxes. Maybe it has to do something with this?
Any ideas?
Best Regards
Steffen
Did you get these issues if you try to use the latest internal build? Do you have a design folder, in the folder from which you are referencing telerik's assemblies?
Kind regards,
Stefan Dobrev
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.
this morning the error "magically" disappeared (I think I did not change anything???).
Testing with the latest 2009.3 internal build would be quite time consuming because I have a lot of projects in
my solution which are referencing the dll's (and its working now).
I don't have any design-folder, I just add the dll's to the project-references.
If the error comes back, maybe I will recognize what causes this.
Best Regards
Steffen
Updating to .NET 4.0 is not an option, and I *do* have a design folder with lots of Telerik.Windows.Controls.*.Design.dll files in it.
Thanks in advance for any suggestions on how we might resolve this problem.
Darcy
<telerik:GridViewColumn Header="Delete" IsVisible="True">
<telerik:GridViewColumn.CellTemplate>
<DataTemplate>
<Button Width="18" Height="18" Margin="5,0" Command="ApplicationCommands.Delete" CommandParameter="{Binding}">
<Button.Content>
<Grid Width="8.083" Height="8.664" VerticalAlignment="Center" HorizontalAlignment="Center">
<Path Fill="{x:Null}" Stretch="Fill" Stroke="#FF000000" Margin="0.083,0.664,0,0" Data="M0.50001547,0.5 L6.5000797,6.5000169 M6.5000155,0.5 L0.5,6.5000704" StrokeThickness="2"/>
<Path Fill="#FFCE3527" Stretch="Fill" Stroke="#FFCD3527" Margin="0,0,0.083,0.664" Data="M0.50001547,0.5 L6.5000797,6.5000169 M6.5000155,0.5 L0.5,6.5000704" StrokeThickness="2"/>
</Grid>
</Button.Content>
</Button>
</DataTemplate>
</telerik:GridViewColumn.CellTemplate>
</telerik:GridViewColumn>
I used VS2008 SP1 + .NET 3.5 on Telerik Q1 2010.
Error 1 '/Microsoft.Windows.Design.Developer;component/themes/GridAdorners.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Cannot create instance of 'GenericTheme' defined in assembly 'Microsoft.Windows.Design.Interaction, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Exception has been thrown by the target of an invocation. Error at object 'ResourceDictionary_4'. C:\Users\GreenB\Documents\Visual Studio 2008\Projects\ModelBox\AWI.ModelBox\MainWindow.xaml 5 5 AWI.ModelBox
I try remove Telerik library from references then, error not raised. but I referenced them, error occurs.
What can I do?
the error "magically" reappeared in some files!
I need a solution for this.
The VS-XAML-designer could be a lot better but working absolutely "blind" is really annoying.
Best Regards
Steffen
We are sorry for the late reply.
I suggest you login to your accounts and download the following zip:
http://www.telerik.com/downloads/productfiles/bacdb/VS2008_Design_Assemblies.zip
Using these design assemblies with Q1 2010 should fix the problem.
All the best,
Rosi
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.
there weren't any design-dlls in my WPF-folder at all.
I used the zipped version because I uninstalled the "install"-version after the new Project-Update-Wizard repeatedly crashed my VS (fatal .NET 2.0 error => I already had this problem with a lot of VS-AddIns).
I still have 2009Q3 installed. Maybe VS took the wrong design-dlls?
So far nothing changed. I will deinstall 2009Q tomorrow and see what happens.
Best Regards
Steffen
Thanks,
Darcy
uninstalling the old version did not help.
Still the same issue.
Best Regards
Steffen
2.uninstall the production
3,reopen in vs2008
a new error is in town! When opening my solution the following output says hello to me:
Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to load metadata assembly Telerik.Windows.Controls.Charting.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly Telerik.Windows.Controls.DataVisualization.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly Telerik.Windows.Controls.Docking.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Navigation.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to load metadata assembly Telerik.Windows.Controls.Gauge.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly Telerik.Windows.Controls.GridView.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Input.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Scheduler.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to load metadata assembly Telerik.Windows.Controls.Charting.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly Telerik.Windows.Controls.DataVisualization.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly Telerik.Windows.Controls.Docking.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Navigation.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to load metadata assembly Telerik.Windows.Controls.Gauge.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly Telerik.Windows.Controls.GridView.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Input.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Scheduler.VisualStudio.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.
Best Regards
Steffen
I don't know if it can help, but I have the error when I use "RadRibbonComboBox"
If i comment this using, all is ok, I can let the telerik dll and other telerik use in my code.
Regards
Aurore
Here is the error message:
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 '1' Position '1425'.
And the interesting part is that, I didn't see the error the first time I add the control. After opening and closing the project, the problem appears. The problem is probably a mixture of Telerik and Microsoft. Telerik's controls are messing something with the Project settings, and then causing something outside the Telerik's controls to fail.
This problem is really annoying, and makes me wonder if I should stick with Telerik or look elsewhere.
I am sorry to hear about your difficulties while using our controls. Please login to your accounts and download the following zip:
http://www.telerik.com/downloads/productfiles/bacdb/VS2008_Design_Assemblies.zip
Using these design assemblies with Q1 2010 should fix the problem. If this does not work try to upgrade with our latest internal build. If the problem still persist I would like to ask you to open a separate support ticket and attach there a sample project which demonstrates the problem to test it locally and provide you with further assistance.
Regards,
Hristo
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.
I haven't tried installing the Beta release, I will give it a try and see if they help.
However I tried the recommendations of others in this thread, to upgrade to Studio 2010 and .Net Framework 4.0. The problem does go away there. I am not sure if this is a viable solution for me or not.
There are other similar problems, look at the thread: http://www.telerik.com/community/forums/wpf/docking/could-not-create-an-instance-of-type-raddocking.aspx
One of the engineers in Telerik was able to reproduce the issue, however there was no solution, only a work around.
There is a big launch event for the VS2010 this week. See more info here:
http://www.pcmag.com/article2/0,2817,2362464,00.asp
Please install the latest version and let us know if you still have problems.
Kind regards,
Valentin.Stoychev
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.