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

WPF window fails to load properly in designer

9 Answers 1842 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alan Cordner
Top achievements
Rank 1
Alan Cordner asked on 19 Mar 2010, 11:32 PM
I have been developing an application in WPF using the RadControls for WPF trial version (2009 Q3 I think) over the last few months. Just last week I was able to purchase the RadControls suite and installed them on my machine. Everything has been working fine, even as early as this morning, until this afternoon. For some unexplained reason, my main window no longer appears at design time. By trial and error, I have narrowed the problem down to the inclusion of the references to Telerik.Windows.Controls, Telerik.Windows.Controls.Navigation, and Telerik.Windows.Data. Removing these references and code that requires them resolves the issue.

To test this, I created a new project (WPF application) in VS2008. The application built and ran without me making any modifications to it. Then, I added the references listed above and attempted to run it again. The application runs, but at design time the main window Window1.xaml is not displayed. Instead, I get the following exception information:

Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at Microsoft.Windows.Design.Features.FeatureManager.FeatureConnectorEntry.AttemptActivate() at Microsoft.Windows.Design.Features.FeatureManager.FeatureConnectorEntry.OnRequirementsChanged(Object sender, EventArgs e) at Microsoft.Windows.Design.RequirementValidator.OnRequirementChanged(Object sender, EventArgs e) at Microsoft.Windows.Design.RequirementSubscription.OnRequirementChanged() at Microsoft.Windows.Design.RequiresContextItemAttribute.RequireContextItemSubscription.OnContextItemChanged(ContextItem item) at Microsoft.Windows.Design.SubscribeContextCallback.Invoke(ContextItem item) at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.OnItemChanged(ContextItem item) at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.SetValue(ContextItem value) at Microsoft.Windows.Design.Interaction.DesignerView.set_Context(EditingContext value) at MS.Internal.Designer.SimpleViewManager.get_View() at Microsoft.Windows.Design.Documents.MarkupDocumentManager.get_View() at MS.Internal.Host.PersistenceSubsystem.get_DocumentView() at MS.Internal.Host.Designer.get_View() at MS.Internal.Designer.VSDesigner.Load() at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load() at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.Load() at MS.Internal.Designer.DesignerPane.LoadDesignerView()

Unable to cast object of type 'MS.Internal.NamedObject' to type 'System.Windows.Input.Cursor'.

at MS.Internal.Interaction.DesignerResources.GetCursor(ResourceKey key) at MS.Internal.GridControl.GridPanelAdorner..ctor(Grid grid) at MS.Internal.GridControl.GridDesigner..ctor(ModelItem gridItem) at MS.Internal.GridControl.GridDesigner.GetDesigner(ModelItem gridItem) at MS.Internal.GridControl.AlwaysVisibleGridAdornersProvider.Activate(ModelItem item, DependencyObject view) at Microsoft.Windows.Design.Interaction.AdornerProvider.InvokeActivate(EditingContext context, ModelItem item, DependencyObject view) at MS.Internal.Features.AdornerProviderFeatureConnector.FeatureProvidersAdded(ModelItem item, IEnumerable`1 extensions) at Microsoft.Windows.Design.Features.PolicyDrivenFeatureConnector`1.UpdateFeatureProviders() at MS.Internal.Features.PolicyDrivenToolFeatureConnector`1.UpdateCurrentTool(Tool newTool) at MS.Internal.Features.PolicyDrivenToolFeatureConnector`1.<.ctor>b__0(Tool newTool) at Microsoft.Windows.Design.ContextItemManager.SubscribeProxy`1.SubscribeContext(ContextItem item) at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.Subscribe(Type contextItemType, SubscribeContextCallback callback) at Microsoft.Windows.Design.ContextItemManager.Subscribe[ContextItemType](SubscribeContextCallback`1 callback) at MS.Internal.Features.PolicyDrivenToolFeatureConnector`1..ctor(FeatureManager manager) at MS.Internal.Features.AdornerProviderFeatureConnector..ctor(FeatureManager manager)

Again, I did NOTHING to this project except add the references to it. Removing the references causes the exception to disappear and the window is displayed at design time as expected.

This exception is a little different from the exception I get in my other application, which contains two nested RadTabControls. Here is that exception:

System.Windows.Markup.XamlParseException occurred
  Message="'/Telerik.Windows.Controls.Navigation;component/Themes/GenericVista.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls.Navigation;component/themes/vista/CarouselDataFieldPresenter.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Navigation;component/Themes/GenericVista.xaml'.  Error at object 'System.Windows.ResourceDictionary'."
  Source="PresentationFramework"
  LineNumber=0
  LinePosition=0
  NameContext="MergedDictionaries"
  StackTrace:
       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 System.Windows.FrameworkElement.set_DefaultStyleKey(Object value)
       at Telerik.Windows.Controls.RadTabControl.SetDefaultStyleKey()
       at Telerik.Windows.Controls.RadTabControl.ResetTheme()
       at Telerik.Windows.Controls.StyleManager.OnThemeChanged(DependencyObject target, DependencyPropertyChangedEventArgs changedEventArgs)
       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 System.Windows.Markup.BamlRecordReader.SetDependencyValueCore(DependencyObject dependencyObject, DependencyProperty dependencyProperty, 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.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.LoadComponent(Object component, Uri resourceLocator)
       at Fluke.Utilities.ProductConfig.ProductionAssistant.InitializeComponent() in t:\VS2008\ProductionAssistant\ProductionAssistant\ProductionAssistant.xaml:line 1
       at Fluke.Utilities.ProductConfig.ProductionAssistant..ctor() in T:\VS2008\ProductionAssistant\ProductionAssistant\ProductionAssistant.xaml.cs:line 16
  InnerException: System.Windows.Markup.XamlParseException
       Message="'/Telerik.Windows.Controls.Navigation;component/themes/vista/CarouselDataFieldPresenter.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Navigation;component/Themes/GenericVista.xaml'."
       Source="PresentationFramework"
       LineNumber=0
       LinePosition=0
       NameContext="MergedDictionaries"
       StackTrace:
            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)
       InnerException: System.NullReferenceException
            Message="Object reference not set to an instance of an object."
            Source="PresentationFramework"
            StackTrace:
                 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.GetTypeOnly(String xmlNamespace, String localName)
                 at System.Windows.Markup.XamlTypeMapper.GetType(String xmlNamespace, String localName)
                 at System.Windows.Markup.XamlTypeMapper.GetTypeFromBaseString(String typeString, ParserContext context, Boolean throwOnError)
                 at System.Windows.Markup.ProvideValueServiceProvider.System.Windows.Markup.IXamlTypeResolver.Resolve(String qualifiedTypeName)
                 at System.Windows.Markup.TypeTypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
                 at System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, String text)
                 at System.Windows.Markup.XamlTypeMapper.ParseProperty(Object targetObject, Type propType, String propName, Object dpOrPiOrFi, ITypeDescriptorContext typeContext, ParserContext parserContext, String value, Int16 converterTypeId)
                 at System.Windows.Markup.BamlRecordReader.ParseProperty(Object element, Type propertyType, String propertyName, Object dpOrPi, String attribValue, Int16 converterTypeId)
                 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.BaseReadDeferableContentStart(BamlDeferableContentStartRecord bamlRecord, ArrayList& defKeyList, List`1& staticResourceValuesList)
                 at System.Windows.Markup.BamlRecordReader.ReadDeferableContentStart(BamlDeferableContentStartRecord bamlRecord)
                 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)
            InnerException:

This application will only display the main window at design time if I remove the references I mentioned above. Even removing all of the RadTabControl XAML code does not allow the window to be displayed if the references are still included.

The only odd thing I remember seeing immediately before this started happening was a green balloon appearing on the Telerik menu in VS2008 indicating there was an upgrade available and asking if I wanted to upgrade my project. I ignored the message because I did not want to affect my project until I reached a point where I could deal with that by itself. After this exception started to occur, I tried running the upgrade to see if that would resolve the problem, but it did not. I also uninstalled ALL Telerik WPF controls from my machine and re-installed the 2010_0309_DEV version. (JustCode is also installed on my machine)

Here is my XAML code for the window that will not load in the designer:

<Window  
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"   
    x:Class="Fluke.Utilities.ProductConfig.ProductionAssistant" 
    xmlns:local="clr-namespace:Fluke.Utilities.ProductConfig"   
    xmlns:diagnostics="clr-namespace:System.Diagnostics;assembly=WindowsBase" 
    Title="Production Assistant" MinWidth="640" MinHeight="600" 
    Background="{DynamicResource WindowBackgroundGradient}"   
    SizeToContent="WidthAndHeight" WindowStyle="ThreeDBorderWindow" > 
 
    <Window.Resources> 
        <DataTemplate x:Key="groupsHeader">  
            <StackPanel Orientation="Horizontal">  
                <Image Source="{Binding Path=Image}" Margin="3" Height="32" Width="32"/>  
                <TextBlock Text="{Binding Path=Name}" Foreground="Black" Margin="3" VerticalAlignment="Center"/>  
            </StackPanel> 
        </DataTemplate> 
 
        <DataTemplate x:Key="productsHeaders">  
            <StackPanel x:Name="spProductTabHeader" Orientation="Vertical">  
                <TextBlock Text="{Binding Path=BaseModel}" Margin="3" VerticalAlignment="Center"/>  
                <Image Source="{Binding Path=Image}" Margin="3" Height="32" Width="32"/>  
            </StackPanel> 
        </DataTemplate> 
 
        <DataTemplate x:Key="productsContent">  
            <ContentControl Content="{Binding Path=UserInterface}"/>  
        </DataTemplate> 
 
        <DataTemplate x:Key="groupsContent">  
            <StackPanel Orientation="Vertical">  
                <StackPanel Orientation="Horizontal">  
                    <TextBlock Margin="10,10,2,10" FontSize="14" FontWeight="Bold" Text="Choose a"/>  
                    <TextBlock Margin="2,10,2,10" FontSize="14" FontWeight="Bold" Text="{Binding Path=Name}"/>  
                    <TextBlock Margin="2,10,10,10" FontSize="14" FontWeight="Bold" Text="product from the tabs below:"/>  
                </StackPanel> 
                <telerikNavigation:RadTabControl TabStripPlacement="Left" TabOrientation="Horizontal" x:Name="tabProducts"   
                        Margin="5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" telerik:StyleManager.Theme="Windows7" ScrollMode="Item" 
                        MinHeight="250" MaxHeight="480" MinWidth="400" 
                        ItemsSource="{Binding Path=Products, Mode=OneTime}" 
                        SelectedItem="{Binding Path=SelectedProduct, Mode=TwoWay}" 
                        ItemTemplate="{StaticResource productsHeaders}" 
                        ContentTemplate="{StaticResource productsContent}">  
                </telerikNavigation:RadTabControl> 
            </StackPanel> 
        </DataTemplate> 
    </Window.Resources> 
 
 
    <Grid x:Name="grid">  
        <Grid.RowDefinitions> 
            <RowDefinition Height="Auto" /> 
            <RowDefinition Height="Auto" /> 
            <RowDefinition Height="Auto" /> 
            <!--<RowDefinition Height="Auto" />--> 
        </Grid.RowDefinitions> 
 
        <Menu Grid.Row="0">  
            <MenuItem Header="_File">  
                <MenuItem x:Name="ExitApplication" Header="Exit"></MenuItem> 
            </MenuItem> 
            <MenuItem Header="_Tools">  
                <MenuItem x:Name="ImportMACAddresses" Header="Import MAC Addresses from File..."/>  
                <MenuItem x:Name="ImportOrders" Header="Import Order Info from File..."/>  
                <MenuItem x:Name="ImportFinalDestinations" Header="Import Final Destination Records from FoxPro..."/>  
                <MenuItem x:Name="ImportProductConfigurations" Header="Import Product Configurations from Spreadsheet..."/>  
                <MenuItem x:Name="ReassignSerialNumber" Header="Reassign Serial Number..."/>  
                <MenuItem x:Name="ShowOptions" Header="Options"/>  
            </MenuItem> 
            <MenuItem Header="_Help">  
                <MenuItem x:Name="mnuAbout" Header="_About"></MenuItem> 
            </MenuItem> 
        </Menu> 
 
        <StackPanel Grid.Row="1" > 
            <TextBlock Margin="5" FontWeight="Bold" FontStyle="Italic" FontSize="24" Text="Production Assistant"/>  
        </StackPanel> 
 
        <telerikNavigation:RadTabControl x:Name="tabGroups" Grid.Row="2" MinHeight="250" 
                                         Margin="5" VerticalAlignment="Stretch"   
                                         HorizontalAlignment="Stretch" telerik:StyleManager.Theme="Windows7" ScrollMode="Item" 
                                         SelectedItem="{Binding Path=SelectedGroup, Mode=TwoWay}" 
                                         ItemsSource="{Binding Path=Groups}" SelectedIndex="0" 
                                         ItemTemplate="{StaticResource groupsHeader}" 
                                         ContentTemplate="{StaticResource groupsContent}"/>  
 
        <!--<DockPanel Grid.Row="3" LastChildFill="True" > 
            <TextBlock DockPanel.Dock="Top" Margin="2">Status:</TextBlock> 
            <ListView DockPanel.Dock="Top" Name="lvStatus" Margin="2" MinHeight="50" ItemsSource="{Binding Path=Feedback, NotifyOnTargetUpdated=True}" TargetUpdated="lvStatus_TargetUpdated"/>  
        </DockPanel>--> 
    </Grid> 
</Window> 
 



9 Answers, 1 is accepted

Sort by
0
Alan Cordner
Top achievements
Rank 1
answered on 19 Mar 2010, 11:59 PM
One other thing to note is that my application DOES actually run, but the orientation and alignment of the nested tab control's tab headers (defined by the productsHeaders template) has changed seemingly on its own since the last time the application worked without raising this exception. The nested tab header content is rotated 90 degrees clockwise and the tabs themselves are vertically bottom aligned instead of top aligned. The ScrollMode is also being ignored (using Pixel instead of Item).
0
Andrew Thompson
Top achievements
Rank 1
answered on 22 Mar 2010, 12:04 AM
I've got this same error since upgrading to the March 9th 2010 assemblies on a test app Im messing about with to trial the telerik components,

I have a main user control which has a Ribbon and a Docking manager on it and the error throws in InitialiseComponent(). The xaml for this control is posted below. There's not a lot going on here, just a ribbon with one tab (Home) with nothing on it, three docking panes.

The exception message is 

Cannot convert string 'telerik:VistaTheme' in attribute 'ThemeType' to object of type 'System.Type'. Could not load file or assembly 'Telerik.Windows.Data, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  Error at object 'Telerik.Windows.Controls.ThemeResourceKey' in markup file 'Telerik.Windows.Controls.Navigation;component/themes/vista/CarouselDataFieldPresenter.xaml'. 

The offending Xaml is: 

<UserControl x:Class="PBTest.MainView" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
    xmlns:telerikRibbonBar="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar" 
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:telerikDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" 
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
    xmlns:views="clr-namespace:PBT.POWCharts.Modules.Main.Views" 
    Loaded="MainView_Loaded" 
    Width="800" Height="600"
    <Grid> 
        <Grid.RowDefinitions> 
            <RowDefinition Height="Auto"/> 
            <RowDefinition Height="*"/> 
        </Grid.RowDefinitions> 
        <telerikRibbonBar:RadRibbonBar Grid.Row="0" Margin="0,-27,0,0" ApplicationName="" Title="" 
                                       ApplicationButtonVisibility="Collapsed"  
                                       telerik:StyleManager.Theme="Windows7"  
                                       HelpButtonVisibility="Visible"  
                                       x:Name="radRibbonBar1"  
                                       QuickAccessToolBarPosition="NotHosted">             
            <telerikRibbonBar:RadRibbonBar.ApplicationMenu> 
                <telerikRibbonBar:ApplicationMenu> 
                    <telerikRibbonBar:ApplicationMenu.Content> 
                        <StackPanel Width="300"
                            <telerikRibbonBar:RadGroupHeader Content="Recent Documents"/> 
                            <telerikRibbonBar:RadRibbonButton Content="1 RIAServices.docx" HorizontalAlignment="Stretch"/> 
                            <telerikRibbonBar:RadRibbonButton Content="2 SL4 Survey.docx" HorizontalAlignment="Stretch"/> 
                            <telerikRibbonBar:RadRibbonButton Content="3 RadTileView Features.docx" HorizontalAlignment="Stretch"/> 
                            <telerikRibbonBar:RadRibbonButton Content="4 RadTreeView TOC.docx" HorizontalAlignment="Stretch"/> 
                            <telerikRibbonBar:RadRibbonButton Content="5 RadRibbonBar API.docx" HorizontalAlignment="Stretch"/> 
                            <telerikRibbonBar:RadRibbonButton Content="6 Profile.docx" HorizontalAlignment="Stretch"/> 
                        </StackPanel> 
                    </telerikRibbonBar:ApplicationMenu.Content> 
 
                    <telerikRibbonBar:ApplicationMenu.FooterContent> 
                        <StackPanel Height="25" Orientation="Horizontal" > 
                            <telerik:RadButton Width="106" Height="22" Margin="3 0" HoverDelay="0:0:0.3"
                                <telerik:RadButton.Content> 
                                    <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="3 0  5 0">                                         
                                        <TextBlock Margin="4 0 0 0" VerticalAlignment="Center" Text="Word Options" /> 
                                    </StackPanel> 
                                </telerik:RadButton.Content> 
                            </telerik:RadButton> 
                            <telerik:RadButton Width="86" Height="22" Margin="3 0 2 0" HoverDelay="0:0:0.3"
                                <telerik:RadButton.Content> 
                                    <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="3 0  5 0"
                                        <TextBlock Margin="4 0 0 0" VerticalAlignment="Center" Text="Exit Word" /> 
                                    </StackPanel> 
                                </telerik:RadButton.Content> 
                            </telerik:RadButton> 
                        </StackPanel> 
                    </telerikRibbonBar:ApplicationMenu.FooterContent> 
                    <telerikRibbonBar:RadRibbonButton 
                        Text="New" HoverDelay="0:0:0.3"/> 
                    <telerikRibbonBar:RadRibbonButton 
                        Text="Open"  HoverDelay="0:0:0.3"/> 
                    <telerikRibbonBar:RadRibbonButton 
                        Text="Save" HoverDelay="0:0:0.3"/> 
                    <telerikRibbonBar:RadRibbonSplitButton Text="Save As" > 
                        <telerikRibbonBar:RadRibbonSplitButton.DropDownContent> 
                            <StackPanel HorizontalAlignment="Stretch" > 
                                <telerikRibbonBar:RadGroupHeader Content="Save as"/> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0"  Width="292" > 
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None" /> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Word Document " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220"  Text="Save the file as a Word Document." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None" /> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Word Template " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220"  Text="Save the document as a template that can be used to format future documents." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None" /> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Word 97-2003 Document " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Save a copy of the document thatis fully compatible with Word 97-2003." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None" /> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="PDF or XPS " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Publish a copy of the document as a PDF or XPS file." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None" /> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Other Format " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Open the Save As dialog box to select from all possible file types." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                            </StackPanel> 
                        </telerikRibbonBar:RadRibbonSplitButton.DropDownContent> 
                    </telerikRibbonBar:RadRibbonSplitButton> 
                    <telerikRibbonBar:Separator /> 
 
                    <telerikRibbonBar:RadRibbonSplitButton Text="Print"
                        <telerikRibbonBar:RadRibbonSplitButton.DropDownContent> 
                            <StackPanel HorizontalAlignment="Stretch" > 
                                <telerikRibbonBar:RadGroupHeader Content="Print"/> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0"  Width="292" > 
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Print " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Select a printer, number of copies before printing." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Quick Print " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Send the document directly to the default printer without making changes." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Print Preview " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Preview and make changes to pages before printing." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                            </StackPanel> 
                        </telerikRibbonBar:RadRibbonSplitButton.DropDownContent> 
                    </telerikRibbonBar:RadRibbonSplitButton> 
                    <telerikRibbonBar:RadRibbonDropDownButton  Text="Prepare"
                        <telerikRibbonBar:RadRibbonDropDownButton.DropDownContent> 
                            <StackPanel HorizontalAlignment="Stretch" > 
                                <telerikRibbonBar:RadGroupHeader Content="Prepare"/> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0"  Width="292" > 
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Properties " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="View and edit document properties." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Inspect Document " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220"  Text="Check the document for hidden metadata or personal information." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Encrypt document " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Increase the security of the document by adding encryption." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Restrict Permission " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Grant  people access while restricting their ability to edit, copy and print." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Add a Digital Signature " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Ensure the integrity of the documentby adding an invisible digital signature." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Mark as Final" FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Let  readers know the document is final and make it read-only." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                            </StackPanel> 
                        </telerikRibbonBar:RadRibbonDropDownButton.DropDownContent> 
                    </telerikRibbonBar:RadRibbonDropDownButton> 
                    <telerikRibbonBar:RadRibbonButton 
                        Text="Send" IsEnabled="False" 
                        /> 
 
 
                    <telerikRibbonBar:RadRibbonDropDownButton  Text="Publish"
                        <telerikRibbonBar:RadRibbonDropDownButton.DropDownContent> 
                            <StackPanel HorizontalAlignment="Stretch" > 
                                <telerikRibbonBar:RadGroupHeader Content="Publish"/> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0"  Width="292" > 
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Blog " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220"  Text="Create a new blog post with the content of the document." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Document Management Server " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Share the document by saving it to a document management server." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                                <telerikRibbonBar:RadRibbonButton Margin="1 0 2 0" Width="292"
                                    <StackPanel Orientation="Horizontal"  Margin="3 0  5 0"
                                        <Image Stretch="None"/> 
                                        <StackPanel Margin="5 5 0 0"
                                            <TextBlock  Text="Create Document Workspace " FontWeight="Bold"/> 
                                            <TextBlock TextWrapping="Wrap" Width="220" Text="Create a new site for the document and keep the local copy synchronized." /> 
                                        </StackPanel> 
                                    </StackPanel> 
                                </telerikRibbonBar:RadRibbonButton> 
                            </StackPanel> 
                        </telerikRibbonBar:RadRibbonDropDownButton.DropDownContent> 
                    </telerikRibbonBar:RadRibbonDropDownButton> 
                    <telerikRibbonBar:Separator /> 
 
                    <telerikRibbonBar:RadRibbonButton 
                        Text="Close" 
                        HoverDelay="0:0:0.3"/> 
 
                </telerikRibbonBar:ApplicationMenu> 
            </telerikRibbonBar:RadRibbonBar.ApplicationMenu> 
            <telerikRibbonBar:RadRibbonTab Header="Home"
            </telerikRibbonBar:RadRibbonTab> 
        </telerikRibbonBar:RadRibbonBar> 
        <telerikDock:RadDocking Grid.Row="1"  telerik:StyleManager.Theme="Windows7"
             
            <telerikDock:RadDocking.DocumentHost> 
            <telerikDock:RadSplitContainer> 
                <telerikDock:RadPaneGroup> 
                    <telerikDock:RadDocumentPane Title="Some Stuff"
                        <telerikDock:RadDocumentPane.Content> 
                            <TextBlock TextWrapping="Wrap" 
                                Text="On the Documents tab above press Ctrl + Mouse Left button to display the Popup Menu. You can use the same combination on every tab." /> 
                        </telerikDock:RadDocumentPane.Content> 
                     </telerikDock:RadDocumentPane> 
                </telerikDock:RadPaneGroup> 
            </telerikDock:RadSplitContainer> 
                </telerikDock:RadDocking.DocumentHost> 
 
            <telerikDock:RadSplitContainer InitialPosition="DockedLeft"
                <telerikDock:RadPaneGroup> 
                    <telerikDock:RadPane Header="Left Pane" Name="LeftPanel" >       
                        <ContentControl Content="{Binding IndicatorTreeView}"/> 
                    </telerikDock:RadPane> 
                </telerikDock:RadPaneGroup> 
            </telerikDock:RadSplitContainer> 
 
            <telerikDock:RadSplitContainer InitialPosition="DockedRight"
                <telerikDock:RadPaneGroup> 
                    <telerikDock:RadPane Header="Right Pane"
                        <TextBlock>Hello World</TextBlock> 
                    </telerikDock:RadPane> 
                </telerikDock:RadPaneGroup> 
            </telerikDock:RadSplitContainer> 
             
        </telerikDock:RadDocking>         
    </Grid> 
</UserControl> 
 

Any suggestions would be appreciated!
0
Andrew Thompson
Top achievements
Rank 1
answered on 22 Mar 2010, 09:08 AM
Note, if I cut the Ribbon Bar definition in xaml down to this, it still fails, but now with the following exception message:

Could not load file or assembly 'Telerik.Windows.Controls.RibbonBar, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference

<telerikRibbonBar:RadRibbonBar Grid.Row="0" > 
        </telerikRibbonBar:RadRibbonBar> 


When I downloaded the March 2010 release I took the DLLs only and referenced them from my project (I have a local project directory called "Dependencies" with all the Dlls in). I am currently uninstalling the entire Q3 2009 package (to reinstall with Q1 2010) to see if that helps.


0
Andrew Thompson
Top achievements
Rank 1
answered on 22 Mar 2010, 09:52 AM
Ok I fixed this error on my machine, here's the steps I took - hope it helps you too! 

(Dont know which step precisely fixed it, but I believe the issue was due to there being multiple Telerik assembly versions on the machine and the .NET runtime trying to load Q1 2010 and Q3 2009 for the ribbon bar)

  • Close all instances of Visual Studio
  • Completely uninstalled Telerik Q3 2009 from control panel
  • Searched for any DLL named Telerik on my computer and deleted
  • Downloaded/copied Telerik March 2010 Assemblies into Dependencies folder in my code directory
  • Opened the code folder and searched/deleted all bin/obj directories
  • Open Visual Studio, removed and re-added all Telerik DLLs as references
  • Set all Telerik DLLs to “Copy Local – True” on the Main exe, set all Telerik DLLs to copy local - False on satellite DLLs
  • Clean/Rebuild again – magically worked!
0
Alan Cordner
Top achievements
Rank 1
answered on 23 Mar 2010, 05:04 PM
0
Accepted
Bobi
Telerik team
answered on 25 Mar 2010, 10:03 AM
Hi Alan Cordner,

Thank you for the feedback and for your suggestions.
It was not clear enough if the problems you faced previously are already solved?
If you still have any other questions or need some more help please let us know.

Kind regards,
Bobi
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
Alan Cordner
Top achievements
Rank 1
answered on 25 Mar 2010, 03:18 PM
Sorry - yes, the updated libraries resolved the design time problems, even though I am not running Windows 7 nor a 64-bit environment (Vista 32-bit).

Thank you for being so responsive!
0
Mark Pow
Top achievements
Rank 1
answered on 26 Mar 2010, 03:27 PM
There is always someone at the end of a thread who posts when the problem has been fixed for everyone! Sadly this person is myself.
I'm receiving this error when trying to compile a WPF application. I've tried each step outlined in Andrew Thompson's post and also extracted and installed the design assemblies. So am a little lost for ideas on how to fix this. Any help greatly appreciated:

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

Additional information: '/Telerik.Windows.Controls.Navigation;component/themes/vista/CarouselDataFieldPresenter.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Navigation;component/Themes/GenericVista.xaml'.


0
denis curtis
Top achievements
Rank 1
answered on 26 Mar 2010, 06:31 PM
I had the same problem on VS2008 Win7/64 when installed 10q1 instead 09q3. Even demo application coulnd't run properly reporting this error. Alan referenced the forum thread with the fix which fixed the problem. Before I tried to rename libraries according another method to xxx4.0 but it didn't help and I revesed it back.
Mark, but if your application can't compile - try to remove all Debug folders with all telerik libs(dlls) and recompile it again. Probably it catch them somehow.

denis
Tags
General Discussions
Asked by
Alan Cordner
Top achievements
Rank 1
Answers by
Alan Cordner
Top achievements
Rank 1
Andrew Thompson
Top achievements
Rank 1
Bobi
Telerik team
Mark Pow
Top achievements
Rank 1
denis curtis
Top achievements
Rank 1
Share this question
or