Exception:Provide value on 'System.Windows.StaticResourceExtension' threw an exception.Cannot find resource named 'NotificationText'. Resource names are case sensitive.

报错信息

XamlParseException: Provide value on 'System.Windows.StaticResourceExtension' threw an exception.
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at ToastNotifications.Messages.Information.InformationMessage.CreateDisplayPart()
   at ToastNotifications.Messages.Core.MessageBase`1.Configure()
   at ToastNotifications.Messages.Core.MessageBase`1.get_DisplayPart()
   at ToastNotifications.Display.NotificationsDisplaySupervisor.CloseNotification(INotification notification)
   at ToastNotifications.Lifetime.TimeAndCountBasedLifetimeSupervisor.CloseNotification(INotification notification)
   at ToastNotifications.Lifetime.TimeAndCountBasedLifetimeSupervisor.OnTimerTick()
   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Exception: Cannot find resource named 'NotificationText'. Resource names are case sensitive.
   at System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)


 

解决方法

暂无解决方案。

相关信息
0 查看
2024-04-12 15:27
Quicker版本
版本 反馈次数