报错信息 1
XamlParseException: 在“System.Windows.StaticResourceExtension”上提供值时引发了异常。
--LineNumber: 0
--LinePosition: 0
--BaseUri: pack://application:,,,/ToastNotifications.Messages;component/information/informationdisplaypart.xaml
StackTrace:
在 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”的资源。资源名称区分大小写。
StackTrace:
在 System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
版本:1.44.55
2026-01-30 14:26
Microsoft Windows NT 10.0.22631.0
版本:1.44.55
2026-01-28 17:14
Microsoft Windows NT 10.0.22631.0
版本:1.44.55
2026-01-24 15:56
Microsoft Windows NT 10.0.22631.0
版本:1.44.55
2026-01-23 19:16
Microsoft Windows NT 10.0.22631.0
版本:1.44.22
2026-01-19 21:50
Microsoft Windows NT 10.0.26100.0
版本:1.44.55
2026-01-12 23:06
Microsoft Windows NT 10.0.26200.0
报错信息 2
XamlParseException: 在“System.Windows.StaticResourceExtension”上提供值时引发了异常。
--LineNumber: 0
--LinePosition: 0
--BaseUri: pack://application:,,,/ToastNotifications.Messages;component/warning/warningdisplaypart.xaml
StackTrace:
在 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.Warning.WarningMessage.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”的资源。资源名称区分大小写。
StackTrace:
在 System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
版本:1.44.22
2026-01-12 23:34
Microsoft Windows NT 10.0.26200.0