设为首页 加入收藏

TOP

由于Microsoft\VisualStudio\14.0\Designer\ShadowCache导致的一个异常问题(一)
2019-09-17 15:42:50 】 浏览:25
Tags:由于 MicrosoftVisualStudio14.0DesignerShadowCache 导致 一个 异常 问题

本文引用了一个DynamicDataDisplayDynamicControl两个类库,本来使用的时候都时正常的,愉快的运行着。

DynamicDataDisplay这是一个用于动态数据可视化的WPF和Silverlight控件库。它具有高效的绑定机制和实时交互能力,能够绘制数百万个数据点。当前版本允许灵活绘制线/标记图。

DynamicControlDynamicDataDisplay的扩展,可以使用MVVM模式。

最近要更新一些功能需求,重新编译了项目,在使用 Automatic Versions可以自动更新软件的版本,这次编译后,运行软件发现一个巨大的问题,就是:软件只要点击曲线界面就会崩溃,查找了一天的原因也没有找到具体的解决方案。

打开wpf界面时出现如下错误:不同引用情况出现以下两个错误问题之一

  在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 System.Windows.Navigation.BaseUriHelper.GetLoadedAssembly(String assemblyName, String assemblyVersion, String assemblyKey)
   在 MS.Internal.AppModel.ResourceContainer.GetResourceManagerWrapper(Uri uri, String& partName, Boolean& isContentFile)
   在 MS.Internal.AppModel.ResourceContainer.GetPartCore(Uri uri)
   在 System.IO.Packaging.Package.GetPartHelper(Uri partUri)
   在 System.IO.Packaging.Package.GetPart(Uri partUri)
   在 System.Windows.Application.GetResourceOrContentPart(Uri uri)
   在 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   在 Microsoft.Research.DynamicDataDisplay.Legend.InitializeComponent()
   在 Microsoft.Research.DynamicDataDisplay.Legend..ctor()
   在 Microsoft.Research.DynamicDataDisplay.ChartPlotter..ctor()
   在 Dynamic.Control.DynamicChart..ctor()

 

XamlParseException: 对类型“Dynamic.Control.DynamicChart”的构造函数执行符合指定的绑定约束的调用时引发了异常。
StackTrace:
在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
   在 System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
   在 System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
   在 System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
   在 System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
   在 System.Windows.FrameworkElement.ApplyTemplate
首页 上一页 1 2 下一页 尾页 1/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇VS工具箱不显示DEV控件解决方法 下一篇ExcelReport.cs Excel操作类、实..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目