zoukankan      html  css  js  c++  java
  • 未能分配给属性“System.Windows.ResourceDictionary.Source”

    昨天下午也在报这个错误

    昨晚搞几小时,上午调两个来小时,

    结果才发现是路径的问题

    我日!

    发生了 System.Windows.Markup.XamlParseException
    Message=未能分配给属性“System.Windows.ResourceDictionary.Source”。 [Line: 24 Position: 36]
    LineNumber=24
    LinePosition=36
    StackTrace:
    位于 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
    位于 ESRI.SilverlightViewer.App.InitializeComponent()
    位于 ESRI.SilverlightViewer.App..ctor()
    InnerException:

    加载XAML文件时,就在报错!

    未能分配给属性“System.Windows.ResourceDictionary.Source”


    结果找到了,是路径的问题App.XAML里面的文件

     <ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="/ESRI.SilverlightViewer;component/Themes/PrintMapPage.xaml" />
    <ResourceDictionary Source="/ESRI.SilverlightViewer;component/Themes/MapNavigator.xaml" />
    <ResourceDictionary Source="/ESRI.SilverlightViewer;component/Themes/LargeBlueWave.xaml" />
    </ResourceDictionary.MergedDictionaries>


    文件夹Themes下的文件不存在@@@

    我勒个去!




    如果山不向我走来,我就向山走去!
  • 相关阅读:
    安卓开发遇到的报错信息
    工作记录
    答辩系统问题
    DWR
    前端vue 里的tab切换 减少dom操作
    前端拖动div 效果
    vue 点击按钮弹窗,点击关闭按钮关闭弹窗。
    前段开发 jq ajax数据处理详细讲解。
    vue计算属性computed和methods的区别
    前段开发 react native tab功能
  • 原文地址:https://www.cnblogs.com/liangwei389/p/2287559.html
Copyright © 2011-2022 走看看