的實例所以,當我創建一個新的Silverlight項目,我得到這個System.NullReferenceException對象引用未設置到對象
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()
錯誤。 File> New> Prooject> Visual C#> Silverlight> Silverlight應用程序。
「主機在新的網站上的Silverlight應用程序」被禁用
的Silverlight版本:4
我沒有其具有完整的上我的筆記本電腦這個問題與我的家用電腦相同的安裝。
出了什麼問題?我怎樣才能解決這個問題?
ps ..這個錯誤出現在我打開的任何silverlight項目中。無論它是我已經在努力的新人之一。
[更新]
,但如果我的Silverlight 5安裝,不會我可以選擇這個時候我開始一個新項目?我仍然只能選擇Silverlight 3和Silverlight 4。
此外,正如您給出的鏈接所述,我的「程序和特性」中沒有slightlight 5。
但是,搜索谷歌如何檢查silverlight版本..我得到寄存器檢出一個Silverlight的版本密鑰。
關鍵說我的版本是:5.1.10411.0
如果有我的程序和功能沒有任何的Silverlight 5,我怎麼能刪除的Silverlight 5?
查看更新..... –
管理重新安裝Silverlight和那藏漢固定這個問題,因爲我的智能感知問題:) –
這個答案真的幫助.... – Varun