2013-08-20 2 views
0

Я очень новичок в применении Silver Light. Когда я попытался создать одно приложение Silverlight, я получаю сообщение об ошибке в MainPage дизайнераОшибка в MainPage в приложении Silverlight

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() 

Может ли один может дать мне решение для этого. Am с помощью Silverlight 5, VS 2010, .NET Framework 4

ответ

0

Уважаемой Всех

Я нашел решение после расходов часов в установке и удалении разные версии >> silverlight.

Follow the Steps for the solution 

Step1: Uninstall all the things related to Silverlight 
Step2: Install the Silverlight4.0 
Step3: Install Silverlight3 SDK 

Теперь откройте проект, Там может быть шанс Браузеры попросить последней Silverlight версии. >> Но игнорируйте это.

+0

Интересно, если вы нашли его, посмотрев статью, которую я предложил ... Просто сказал ... –

 Смежные вопросы

  • Нет связанных вопросов^_^