一个unhandle Exception已经出现 [英] An unhandle Exception occered

查看:223
本文介绍了一个unhandle Exception已经出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 )

在MS.Internal.Design.Markup.XmlElement.BuildScope(PrefixScope parentScope,IParseContext context)

在MS.Internal.Design.Markup.XmlElement.ConvertToXaml(XamlElement parent,PrefixScope parentScope,IParseContext context,IMarkupSourceProvider provider)

at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)

at MS。 Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.get_RootItem()

在Microsoft.Windows.Design.DocumentModel.Trees.ModifiableDocumentTree.get_ModifiableRootItem()

at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.get_LoadState()

at MS.Internal .Host.PersistenceSubsystem.Load()

at MS.Internal.Host.Designer.Load()

at MS.Internal.Designer.VSDesigner.Load()

在MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()

在MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView视图)

在MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory,IsolatedView视图)

在MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory,IsolatedView)查看)

at MS.Internal.Host.Isolation.IsolatedDesigner.Load()

at MS.Internal.Designer.DesignerPane.LoadDesignerView()






我正在使用visualStudio 2010,我的系统上安装了MicrosoftSilverlight和MicrosoftSilverlight 3 sdk。



请帮助我。如何获得我的Xaml(设计表格)。

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)
at MS.Internal.Design.Markup.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)
at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.get_RootItem()
at Microsoft.Windows.Design.DocumentModel.Trees.ModifiableDocumentTree.get_ModifiableRootItem()
at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.get_LoadState()
at MS.Internal.Host.PersistenceSubsystem.Load()
at MS.Internal.Host.Designer.Load()
at MS.Internal.Designer.VSDesigner.Load()
at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()
at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)
at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
at MS.Internal.Host.Isolation.IsolatedDesigner.Load()
at MS.Internal.Designer.DesignerPane.LoadDesignerView()



I am using visualStudio 2010,MicrosoftSilverlight and MicrosoftSilverlight 3 sdk is installed on my system.

plese help me. how to get my Xaml (Design Form).

推荐答案

这个错误不足以找出真正的问题。

看起来像你引用了一个空的对象的属性。
This error is just not sufficient to figure out the real problem.
Looks like you have referencing an attribute of an object that is null.


只需卸载MicrosoftSilverlight 3 SDK然后它就可以正常工作
just uninstall the MicrosoftSilverlight 3 SDK and then it works properly


我安装了VisualStudio2010 SP1和Silverlight5安装问题解决了
I Install VisualStudio2010 SP1 and Silverlight5 install the problem is solve


这篇关于一个unhandle Exception已经出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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