Out of the blue, I have started getting an assembly error when i try to debug my application. I am utilizing RadControls for WPF Q1 2010 in VS 2008:
Error 1 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 '491'. C:\Documents and Settings\akedzier\My Documents\Visual Studio 2008\Projects\CCMB_WPF\WpfApplication1\panels\Panel_04.xaml 12 13 CCBM_Wpf
Here is the code it tags as problematic. It is almost verbatim from the Telerik example:
This has compiled and run just fine previously. Not sure what changed to cause the error.
Error 1 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 '491'. C:\Documents and Settings\akedzier\My Documents\Visual Studio 2008\Projects\CCMB_WPF\WpfApplication1\panels\Panel_04.xaml 12 13 CCBM_Wpf
Here is the code it tags as problematic. It is almost verbatim from the Telerik example:
| <ControlTemplate x:Key="NewGaugeBackground" TargetType="{x:Type ContentControl}"> |
| <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"> |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width="20"/> |
| <ColumnDefinition Width="*"/> |
| <ColumnDefinition Width="20"/> |
| </Grid.ColumnDefinitions> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="20"/> |
| <RowDefinition Height="*"/> |
| <RowDefinition Height="20"/> |
| </Grid.RowDefinitions> |
| <Ellipse Stretch="Fill" Grid.ColumnSpan="3" Grid.RowSpan="3"> |
| <Ellipse.Fill> |
| <ImageBrush ImageSource="pack://application:,,,/images/bronze.jpg" /> |
| </Ellipse.Fill> |
| <Ellipse.BitmapEffect> |
| <BevelBitmapEffect BevelWidth="20" |
| EdgeProfile="BulgedUp" |
| Relief="0.5" |
| Smoothness="0.3" /> |
| </Ellipse.BitmapEffect> |
| </Ellipse> |
| <Ellipse Grid.Row="1" Grid.Column="1" Stretch="Fill" Fill="White" /> |
| <Ellipse Grid.Row="1" Grid.Column="1" Height="48" Width="48"> |
| <Ellipse.Fill> |
| <ImageBrush ImageSource="pack://application:,,,/images/bronze.jpg" /> |
| </Ellipse.Fill> |
| <Ellipse.BitmapEffect> |
| <BevelBitmapEffect BevelWidth="5" |
| EdgeProfile="BulgedUp" |
| Relief="0.5" |
| Smoothness="0.3" /> |
| </Ellipse.BitmapEffect> |
| </Ellipse> |
| </Grid> |
| </ControlTemplate> |
This has compiled and run just fine previously. Not sure what changed to cause the error.