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下的文件不存在@@@

    我勒个去!




    如果山不向我走来,我就向山走去!
  • 相关阅读:
    mysql 常用命令集锦
    linux系统端口查看和占用的解决方案
    Linux 基本命令
    Linux 内存优化
    maven 常用脚本
    linux 下maven安装
    MYSQL创建用户Unknown column 'plugin' in 'mysql.user'的解决方法
    mysql 安装及卸载 主从配置
    排序算法
    JDK和JRE的区别
  • 原文地址:https://www.cnblogs.com/liangwei389/p/2287559.html
Copyright © 2011-2022 走看看