ورود

View Full Version : سوال: خطا در پنجره طراحی



sajad.net
جمعه 18 فروردین 1391, 16:28 عصر
نمی دونم چرا وقتی یه پروژه silverlight بازم می کنم پنجره طراحی اینو می یاره

http://www.uploadkon.ir/uploads/6462a187a0b37dc1808f33aeea79958a.jpg

و داخلش ایناره نوشته

System.NullReferenceException
Object reference not set to an instance of an object.
at Microsoft.Windows.Design.Platform.SilverlightMetad ataContext.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(Pr efixScope parentScope, IParseContext context)
at MS.Internal.Design.Markup.XmlElement.ConvertToXaml (XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
at MS.Internal.Design.DocumentModel.DocumentTrees.Mar kup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)
at MS.Internal.Design.DocumentModel.DocumentTrees.Mar kup.XamlSourceDocument.get_RootItem()
at Microsoft.Windows.Design.DocumentModel.Trees.Modif iableDocumentTree.get_ModifiableRootItem()
at Microsoft.Windows.Design.DocumentModel.MarkupDocum entManagerBase.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.VSIsolated View.Load()
at MS.Internal.Designer.VSIsolatedDesigner.VSIsolated DesignerFactory.Load(IsolatedView view)
at MS.Internal.Host.Isolation.IsolatedDesigner.Bootst rapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
at MS.Internal.Host.Isolation.IsolatedDesigner.Bootst rapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
at MS.Internal.Host.Isolation.IsolatedDesigner.Load()
at MS.Internal.Designer.DesignerPane.LoadDesignerView ()

in_chand_nafar
جمعه 18 فروردین 1391, 18:21 عصر
در ویندوز برو تمامی برنامه های مربوط به silverlight را پاک و مجدد نصب کن
تا مشکل حل شود Confilict بین Toolkit و... داری
اگر با SL 4 و SL 5 همزمان کار می کنید در برخی مواقع پس از نصب Toolkit این مشکلات بوجود می آید و یا در سایر حالت ها در شرکت یکی از دوستانم همین مشکل را داشت که
با حذف Toolkit و Player سیلورلایت و نصب مجدد اونها مشکل رفع شد
یه چیز دیگه در برخی از مواقع اگر شما با SL Toolkit 4 برنامه نوشته باشی و بخواهی اون رو با نسخه 5 باز کنی (Toolkitو... نسخه 5) در بعضی از مواقع خطایی هم میگری و صفحات هم لود نمیشه که این هم متاسفانه بر می گرده به Conflict نسخه 5 و 4