Exception:“x”是未声明的前缀。 第 3 行,位置 21。“x”是未声明的前缀。 第 3 行,位置 21。

报错信息

XamlParseException: “x”是未声明的前缀。 第 3 行,位置 21。
--LineNumber: 3
--LinePosition: 21
--BaseUri: pack://application:,,,/
StackTrace:
   在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   在 System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)
   在 System.Windows.Markup.XamlReader.Load(XmlReader reader)
   在 DynamicClass.BookmarkAppRunner.applyCtxTheme(ContextMenu ctx)
   在 DynamicClass.BookmarkAppRunner.<>c__DisplayClass217.<>c__DisplayClass22d.<Run>b__176(String treeParentPath, Int32 level)
   在 DynamicClass.BookmarkAppRunner.<>c__DisplayClass217.<Run>b__170()
   在 DynamicClass.BookmarkAppRunner.<>c__DisplayClass217.<>c__DisplayClass22d.<Run>b__174(Object s, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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)

XmlException: “x”是未声明的前缀。 第 3 行,位置 21。
--LineNumber: 3
--LinePosition: 21
--Message: “x”是未声明的前缀。 第 3 行,位置 21。
StackTrace:
   在 System.Xml.XmlTextReaderImpl.Throw(Exception e)
   在 System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData node)
   在 System.Xml.XmlTextReaderImpl.AttributeNamespaceLookup()
   在 System.Xml.XmlTextReaderImpl.ParseAttributes()
   在 System.Xml.XmlTextReaderImpl.ParseElement()
   在 System.Xml.XmlTextReaderImpl.ParseElementContent()
   在 System.Xaml.XmlCompatibilityReader.Read()
   在 MS.Internal.Xaml.Parser.XamlScanner.DoXmlRead()
   在 MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__8.MoveNext()
   在 MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__5.MoveNext()
   在 MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__4.MoveNext()
   在 MS.Internal.Xaml.NodeStreamSorter.ReadAheadToEndOfAttributes()
   在 MS.Internal.Xaml.NodeStreamSorter.ReadAheadAndSortCtorProperties()
   在 System.Xaml.XamlXmlReader.Initialize(XmlReader givenXmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings)
   在 System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)

 

解决方法

暂无解决方案。

相关信息
1 查看
18小时48分钟前
Quicker版本
版本 反馈次数
1.45.0 1