第一次使用Sillverlight时发生错误 [英] error when using Sillverlight for the first time
本文介绍了第一次使用Sillverlight时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图用silverlight创建我的第一个应用程序
( http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index .htm#/?sref = WebcamCapture [ ^ ])
安装Silverlighttool-4之后,但出现错误:
---
I tried to create my first application with silverlight
(http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index.htm#/?sref=WebcamCapture[^] )
after installing Silverlighttool-4 but it gives error:
---
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()
推荐答案
卸载标准版本的silverlight,然后安装开发人员运行时,它将解决.请通过以下链接安装silverlight开发人员运行时: http://go.microsoft.com/fwlink/?LinkId=146060 [ ^ ]
Uninstall the standard version of silverlight and then install the developer runtime and it will get solved. please install the silverlight developer runtime from this link: http://go.microsoft.com/fwlink/?LinkId=146060[^]
这篇关于第一次使用Sillverlight时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文