发生未经处理的异常System.NullReferenceException
未将对象引用设置到对象的实例。
   在 Microsoft.Windows.Design.Platform.SilverlightMetadataContext.SilverlightXamlExtensionImplementations.<GetXmlNamespaceCompatibilityMappings>d__8.MoveNext()
   在 MS.Internal.Design.Metadata.ReflectionProjectNode.BuildSubsumption()
   在 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)
   在 MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)
   在 MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.get_RootItem()
   在 Microsoft.Windows.Design.DocumentModel.Trees.ModifiableDocumentTree.get_ModifiableRootItem()
   在 Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.get_LoadState()
   在 MS.Internal.Host.PersistenceSubsystem.Load()
   在 MS.Internal.Host.Designer.Load()
   在 MS.Internal.Designer.VSDesigner.Load()
   在 MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()
   在 MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)
   在 MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   在 MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   在 MS.Internal.Host.Isolation.IsolatedDesigner.Load()
   在 MS.Internal.Designer.DesignerPane.LoadDesignerView()
建立silverlight程序之后,打开就是以上显示

跪求大神们给个解决的方法

解决方案 »

  1.   

    System.NullReferenceException
    未将对象引用设置到对象的实例。这种异常 就检查是否有NULL值。断点调试。
      

  2.   

    多谢了,其实问题处在配置环境时候安装的顺序,
    我卸载了VS自带的silverlight,然后单独重新安装,就OK了
      

  3.   

    [/Quote]
    多谢了,其实问题处在配置环境时候安装的秩序,
    我卸载了VS自带的silverlight,然后重新安装,就OK了
      

  4.   


    多谢了,其实问题处在配置环境时候安装的秩序,
    我卸载了VS自带的silverlight,然后重新安装,就OK了