我正在使用visualStudio 2010,我的系统上安装了MicrosoftSilverlight和MicrosoftSilverlight 3 sdk。 请帮助我。如何获得我的Xaml(设计表格)。System.NullReferenceExceptionObject 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已经出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-18 01:19