Panuon.Documents icon indicating copy to clipboard operation
Panuon.Documents copied to clipboard

引入项目后运行,输出报 “引发的异常:“System.NotSupportedException”(位于 System.dll 中)”异常

Open GHZhi opened this issue 3 years ago • 1 comments

按说明文档中的引入 ,NuGet管理器中安装Panuon.Silver后, 在运行后输出窗口会以下报错,并且由于某些原因引发异常,会产生一定的卡顿。

输出的异常: 引发的异常:“System.NotSupportedException”(位于 System.dll 中) 引发的异常:“System.NotSupportedException”(位于 System.dll 中) 引发的异常:“System.NotSupportedException”(位于 System.dll 中) 引发的异常:“System.NotSupportedException”(位于 System.dll 中) 引发的异常:“System.NotSupportedException”(位于 System.dll 中) 引发的异常:“System.NotSupportedException”(位于 System.dll 中)

另外 ,Demo运行后也有相同的异常报错。

这个问题排查了好长时间才知道是Panuon的问题,即使在项目不中使用它,只在App.Xaml中引入 ResourceDictionary Source="pack://application:,,,/Panuon.UI.Silver;component/Control.xaml",也同样会报错。

GHZhi avatar Jun 03 '21 03:06 GHZhi

Uploading 微信图片_20210603113741.png…

GHZhi avatar Jun 03 '21 03:06 GHZhi