解决Set property 'System.Windows.ResourceDictionary.DeferrableContent'threw an exception.
来源:互联网 发布:知无涯者 豆瓣 编辑:程序博客网 时间:2024/05/16 05:32
问题:
使用VS 2012 RC 工具,在一个解决方案中同时“添加”多个项目时,更改引用 的WinJS版本引用时提示运行时错误,“Set property 'System.Windows.ResourceDictionary.DeferrableContent'threw an exception.”
解决方案:
重新打开一个解决方案,重新添加现有项目,更改引用的WinJS版本引用,再运行,一切正常。
注意:要先添加WinJS.1.0.RC,后删除WinJS.1.0,顺序反了,有时候也会出错。如果因为顺序反了出错了,就执行“清理”后“重新生成”,“布署”,也可以恢复正常。
一定记得把ctrl+shift+H,把项目中所以“WinJS.1.0”替换成“WinJS.1.0.RC"。
Reference:
http://blog.saraf.me/2011/02/set-property-threw-exception.html
- 解决Set property 'System.Windows.ResourceDictionary.DeferrableContent'threw an exception.
- 'Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.
- 设置属性“System.Windows.ResourceDictionary.DeferrableContent”时引发了异常
- Set connectionId threw an exception.
- 'Provide value on 'System.Windows.StaticResourceExtension' threw an exception.'
- 错误Set connectionId threw an exception
- 解决libc++abi.dylib: terminate_handler unexpectedly threw an exception(1)
- Servlet execution threw an exception
- terminate_handler unexpectedly threw an exception
- WPF Set connectionId threw an exception异常 以及重复dll的问题
- The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception.
- The type initializer threw an exception.
- GsonFormat threw an uncaught Plugin Exception
- GsonFormat threw an uncaught Plugin Exception
- ERROR LiveListenerBus: Listener EventLoggingListener threw an exception
- GsonFormat threw an uncaught Plugin Exception
- 解决报错libc++abi.dylib: terminate_handler unexpectedly threw an exception
- SqlConnection new 的時候,报:“The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception.”
- wince文件监控方式
- Win7 IIS配置时hresult:0x80070020错误解析
- tomcat报BAD packet signature 18245错误的原因
- 手势监听类
- 关于symbian
- 解决Set property 'System.Windows.ResourceDictionary.DeferrableContent'threw an exception.
- 安装配置RMS服务器步骤
- remote gdb
- uboot load address、entry point、 bootm address以及kernel运行地址的意义及联系
- about modbus
- C#在Form之间传值问题
- linux network api
- IOS中输入框被软键盘遮挡的解决办法
- svn