Click here to Skip to main content
15,913,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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()
Posted
Updated 3-Jan-12 3:46am
v2

1 solution

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[^]
 
Share this answer
 
Comments
JawadHafiz 3-Jan-12 10:31am    
i am having silverlight4 SDK and silverlight4 tools for visual studeo, Which one to be removed

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900