IOException: Cannot locate resource 'appthemechanger/ui/appthemetip.baml'.

3 posts, 0 answers
  1. Steve
    Steve avatar
    20 posts
    Member since:
    Jan 2011

    Posted 16 May Link to this post

    Hello,

    I've got a simple usercontrol containing a RadGridView.

    Since R2 2016, when I try to view this control using the designer in Visual Studio, the designer window crashes with a message:

    IOException: Cannot locate resource 'appthemechanger/ui/appthemetip.baml'.

    I am using the NoXaml binaries with the VisualStudio2013 theme, and have references to the following in my App's resources

     

                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/System.Windows.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>

     

    Any ideas how I could sort this? Thanks

  2. Steve
    Steve avatar
    20 posts
    Member since:
    Jan 2011

    Posted 16 May in reply to Steve Link to this post

    at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
       at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
       at System.IO.Packaging.PackagePart.GetStream()
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Telerik.Windows.Core.Design.AppThemeTip.InitializeComponent()
       at Telerik.Windows.Core.Design.AppThemeTip..ctor(Type itemType)
       at Telerik.Windows.Core.Design.TelerikThemableControlAdornerProvider.Activate(ModelItem item)
       at Microsoft.Windows.Design.Interaction.AdornerProvider.InvokeActivate(EditingContext context, ModelItem item)
       at MS.Internal.Features.AdornerProviderFeatureConnector.FeatureProvidersAdded(ModelItem item, IEnumerable`1 extensions)
       at Microsoft.Windows.Design.Policies.PolicyDrivenFeatureConnector`1.OnPolicyItemsChanged(Object sender, PolicyItemsChangedEventArgs e)
       at Microsoft.Windows.Design.Policies.ItemPolicy.OnPolicyItemsChanged(PolicyItemsChangedEventArgs e)
       at Microsoft.Windows.Design.Policies.SelectionPolicy.OnSelectionChanged(Selection newSelection)
       at Microsoft.Windows.Design.ContextItemManager.SubscribeProxy`1.SubscribeContext(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.Expression.DesignSurface.ViewModel.Extensibility.ExtensibilityManager.SetSelection(Selection selection)
       at Microsoft.Expression.DesignSurface.ViewModel.Extensibility.ExtensibilityManager.OnViewModelEarlySceneUpdatePhase(Object sender, SceneUpdatePhaseEventArgs args)
       at Microsoft.Expression.DesignSurface.ViewModel.SceneUpdatePhaseEventHandler.Invoke(Object sender, SceneUpdatePhaseEventArgs e)
       at Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.FireEarlySceneUpdatePhase(SceneUpdatePhaseEventArgs args)
       at Microsoft.Expression.DesignSurface.View.SceneViewUpdateScheduleTask.UpdateEarly()
       at Microsoft.Expression.Utility.Scheduler.ScheduleTask.Update()
       at Microsoft.Expression.Utility.Scheduler.SchedulingService.DispatchTasksAtPriority(DispatcherPriority priority)
       at Microsoft.Expression.Utility.Scheduler.SchedulingService.DispatcherToken.Dispatch(Object arg)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
  3. DevCraft banner
  4. Stefan X1
    Admin
    Stefan X1 avatar
    523 posts

    Posted 19 May Link to this post

    Hi Steve,

    My best guess for this problem is that it is a version mismatch between the dlls. Can you please share some details whether the exception is raised in design time only? Have you tried testing the application with another version of VisualStudio? Does the project build and run as expected?

    Can you please also verify that all referenced assemblies are with the same version? If they are, I suggest you deleting the bin and obj folders of the application, clean and rebuild it.

    If this does not help, you can try clearing the GAC and check whether this solves the problem.

    If none of this suggestions fix the issue, I suggest you completely uninstalling Telerik controls and reinstalling them again.

    Hope this helps.

    All the best,
    Stefan X1
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top