Exception:“=”是意外的标记。标记应为“;”。 第 2 行,位置 82。“=”是意外的标记。标记应为“;”。 第 2 行,位置 82。

报错信息 1
XamlParseException: “=”是意外的标记。标记应为“;”。 第 2 行,位置 82。
--LineNumber: 2
--LinePosition: 82
--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.WindowHelper.CreateAppCard(FlatItemModel item)
   在 DynamicClass.WindowHelper.RefreshItemList()
   在 DynamicClass.WindowHelper.<>c__DisplayClassf6.<<ShowItemContextMenu>b__e6>d__f9.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: “=”是意外的标记。标记应为“;”。 第 2 行,位置 82。
--LineNumber: 2
--LinePosition: 82
--Message: “=”是意外的标记。标记应为“;”。 第 2 行,位置 82。
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)

版本:1.45.0 2026-03-15 03:01 Microsoft Windows NT 10.0.26100.0