telerikChart:RadCartesianChart FileNotFoundException

2 posts, 0 answers
  1. Andras
    Andras avatar
    4 posts
    Member since:
    Aug 2011

    Posted 10 Aug 2014 Link to this post

    Chartcontrol makes the Visual Studio XAML designer crash with filenotfoundexception.

    Repro:
    VS 2013 ultimate update 3
    Windows Phone 8.1 (silverlight app)
    Latest released Telerik UI for Windows Phone 8

    Code:
    <telerikChart:RadCartesianChart Margin="10" Grid.Row="2" x:Name="radChart1" Zoom="10,1" MaxZoom="20,1">
    <telerikChart:RadCartesianChart.Behaviors>
    <telerikChart:ChartPanAndZoomBehavior ZoomMode="Horizontal" PanMode="Horizontal"/>
    <telerikChart:ChartTrackBallBehavior ShowTrackInfo="True" ShowIntersectionPoints="True"/>
    </telerikChart:RadCartesianChart.Behaviors>
    <telerikChart:RadCartesianChart.HorizontalAxis>
    <telerikChart:DateTimeContinuousAxis LabelFitMode="Rotate" LabelFormat="MMM-yyyy" MajorStep="12" MajorStepUnit="Month" PlotMode="OnTicks"/>
    </telerikChart:RadCartesianChart.HorizontalAxis>
    <telerikChart:RadCartesianChart.VerticalAxis>
    <telerikChart:LinearAxis Minimum="0" Maximum="150"/>
    </telerikChart:RadCartesianChart.VerticalAxis>
    <telerikChart:RadCartesianChart.Grid>
    <telerikChart:CartesianChartGrid MajorLinesVisibility="Y"/>
    </telerikChart:RadCartesianChart.Grid>
    <telerikChart:AreaSeries ValueBinding="Value" CategoryBinding="Category" ItemsSource="{Binding}">
    </telerikChart:AreaSeries>
    </telerikChart:RadCartesianChart>

    Exception:

    FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.11.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    ​   at Telerik.Windows.Controls.Design.GaugeGalleryContainer..ctor(Control galleryUI)
       at Telerik.Windows.Controls.Design.DesignTimegalleryAdornerProvider.Activate(ModelItem item) in c:\Builds\303\WindowsPhone\BuildAll_WP8\Sources\Design\Gallery\DesignTimeGalleryAdornerProvider.cs:line 42
       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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 13 Aug 2014 Link to this post

    Hi Andras,

    We are aware of the problem. While we investigate it, please move the design folder from C:\Program Files (x86)\Telerik\UI for Windows Phone 8 Q2 2014\Binaries\WindowsPhone ​folder to another location so that it cannot be resolved. This will fix the problem for the time being.

    Best regards,
    Ves
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top