HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

把HandyControl包从3.3.0更新到3.4.0之后程序启动崩溃

Open adriel2012 opened this issue 2 years ago • 0 comments

Describe the bug

我的WPF项目最初是基于.NET Framework4.6,后来升级到了.NET Framework4.8.1版本,我也尝试把HandyControl包从3.3.0更新到3.4.0,但是更新完之后运行程序就报异常了,以下是异常的详细信息: System.Windows.Markup.XamlParseException HResult=0x80131501 Message=未实现该方法或操作。 Source=PresentationFramework 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) 在 ELTHMI.App.InitializeComponent() 在 D:\Projects\ELTHMI481\ELTHMI\App.xaml 中: 第 1 行

此异常最初是在此调用堆栈中引发的: [外部代码]

内部异常 1: NotImplementedException: 未实现该方法或操作。

Steps to reproduce the bug

把HandyControl从3.3.0更新到3.4.0

Expected behavior

No response

Screenshots

image

NuGet package version

HandyControl 3.4.0

IDE

Visual Studio 2022

Framework type

No response

Windows version

Windows 11 (22000)

Additional context

No response

adriel2012 avatar Jun 13 '23 01:06 adriel2012