Exception:在“System.Windows.StaticResourceExtension”上提供值时引发了异常。无法找到名为“NotificationText”的资源。资源名称区分大小写。

报错信息

XamlParseException: 在“System.Windows.StaticResourceExtension”上提供值时引发了异常。
   在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   在 ToastNotifications.Messages.Information.InformationMessage.CreateDisplayPart()
   在 ToastNotifications.Messages.Core.MessageBase`1.Configure()
   在 ToastNotifications.Messages.Core.MessageBase`1.get_DisplayPart()
   在 ToastNotifications.Display.NotificationsDisplaySupervisor.CloseNotification(INotification notification)
   在 ToastNotifications.Lifetime.TimeAndCountBasedLifetimeSupervisor.CloseNotification(INotification notification)
   在 ToastNotifications.Lifetime.TimeAndCountBasedLifetimeSupervisor.OnTimerTick()
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Exception: 无法找到名为“NotificationText”的资源。资源名称区分大小写。
   在 System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
   在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)


 

解决方法

暂无解决方案。

相关信息
8 查看
1天22小时前
Quicker版本
版本 反馈次数
1.43.0 2
1.42.43 1
1.42.32 3
1.42.24 1
1.42.15 1