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)