在vs 2010银光应用程序中加载XAML设计器时出错 [英] Error to load XAML desingner in vs 2010 silver light application

查看:58
本文介绍了在vs 2010银光应用程序中加载XAML设计器时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,

我正在开发一个银光应用程序,但是当我尝试制作新的银灯应用程序时,没有设计器视图出现在任何XAML文件中。它显示如下错误消息。< br $>


 System.NullReferenceException 
对象引用未设置为对象的实例。
at Microsoft.Windows.Design.Platform.SilverlightMetadataContext.SilverlightXamlExtensionImplementations。< GetXmlNamespaceCompatibilityMappings > d__8.MoveNext()
at MS.Internal.Design.Metadata.ReflectionProjectNode.BuildSubsumption()
at MS.Internal.Design.Metadata。 ReflectionProjectNode.SubsumingNamespace(Identifier identifier)
at MS.Internal.Design.Markup.XmlElement.BuildScope(PrefixScope parentScope,IParseContext context)







我已经多次重新安装了VS2010和Silverlight,但仍然出现此错误。请帮助我......提前致谢....





谢谢和问候

Shivam Kumar

解决方案

看起来像SilverLight-内部错误。

您可以在此处报告SilverLight错误:

http://social.msdn.microsoft.com/Forums/en-US/silverlightbugs/threads/ [ ^ ]


我一直有这个错误。似乎是第三方控制问题。在我的情况下,我有Telerik Controls,当我没有安装这些控件时效果很好。



所以,问题在于第三方控件。您是否正在使用它?



祝你好运。


看起来这是已知的问题,试试人们使用的解决方案之一 on ms connect 在MSDN论坛上

Hello Friends,
I am developing a silver light application but when I am trying to make new silver light application no designer view appearing in any XAML file.It showing a error message like this.

System.NullReferenceException
Object reference not set to an instance of an object.
   at Microsoft.Windows.Design.Platform.SilverlightMetadataContext.SilverlightXamlExtensionImplementations.<GetXmlNamespaceCompatibilityMappings>d__8.MoveNext()
   at MS.Internal.Design.Metadata.ReflectionProjectNode.BuildSubsumption()
   at MS.Internal.Design.Metadata.ReflectionProjectNode.SubsumingNamespace(Identifier identifier)
   at MS.Internal.Design.Markup.XmlElement.BuildScope(PrefixScope parentScope, IParseContext context)




I alreday re-intalled VS2010 and silverlight many times but still this error showing.Please help me...Thanks in advance....


Thanks And Regards
Shivam Kumar

解决方案

It seems like a SilverLight-internal bug.
You can report a SilverLight bug here:
http://social.msdn.microsoft.com/Forums/en-US/silverlightbugs/threads/[^]


I have this error all the time. Seems to be a third party controls problem. In my case I have Telerik Controls, when I haven''t got these controls installed works great.

So, the problem is with third party controls. Are you using one?

Best regards.


looks like this is known issue, try one of solutions people use on ms connect and on MSDN forums


这篇关于在vs 2010银光应用程序中加载XAML设计器时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆