Exception:“)”是意外的标记。标记应为“;”。 第 1 行,位置 184。“)”是意外的标记。标记应为“;”。 第 1 行,位置 184。

报错信息

XamlParseException: “)”是意外的标记。标记应为“;”。 第 1 行,位置 184。
--LineNumber: 1
--LinePosition: 184
--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.CreateAppButton(String buttonId, UnifiedItemInfo buttonInfo, WindowState state)
   在 DynamicClass.<PopulateButtonsAsync>d__223.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 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: “)”是意外的标记。标记应为“;”。 第 1 行,位置 184。
--LineNumber: 1
--LinePosition: 184
--Message: “)”是意外的标记。标记应为“;”。 第 1 行,位置 184。
StackTrace:
   在 System.Xml.XmlTextReaderImpl.Throw(Exception e)
   在 System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
   在 System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
   在 System.Xml.XmlTextReaderImpl.ParseAttributes()
   在 System.Xml.XmlTextReaderImpl.ParseElement()
   在 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   在 System.Xaml.XmlCompatibilityReader.Read()
   在 MS.Internal.Xaml.Parser.XamlScanner.DoXmlRead()
   在 MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__4.MoveNext()
   在 MS.Internal.Xaml.NodeStreamSorter.StartNewNodeStreamWithSettingsPreamble()
   在 MS.Internal.Xaml.NodeStreamSorter..ctor(XamlParserContext context, XamlPullParser parser, XamlXmlReaderSettings settings, Dictionary`2 xmlnsDictionary)
   在 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)

 

解决方法

暂无解决方案。

相关信息
0 查看
2026-03-13 17:17
Quicker版本
版本 反馈次数