Exception:对类型“MdXaml.MarkdownScrollViewer”的构造函数执行符合指定的绑定约束的调用时引发了异常。“System.Windows.Controls.FlowDocumentScrollViewer”的类型初始值设定项引发异常。找不到方法:“System.Windows.Input.RoutedUICommand System.Windows.Input.ApplicationCommands.get_CancelPrint()”。

报错信息

XamlParseException: 对类型“MdXaml.MarkdownScrollViewer”的构造函数执行符合指定的绑定约束的调用时引发了异常。
--LineNumber: 0
--LinePosition: 0
--BaseUri: pack://application:,,,/Quicker;component/view/controls/markdownhintbutton.xaml
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)
   在 Quicker.View.UserInputWindow.InitializeComponent()
   在 Quicker.View.UserInputWindow..ctor(String valueType, String prompt, String pattern, String defaultValue)
   在 Quicker.Domain.Actions.X.BuiltinRunners.UserInputStep.<>c__DisplayClass56_3.l8Y2RZh1nhXNOAgrqBqk.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)

TypeInitializationException: “System.Windows.Controls.FlowDocumentScrollViewer”的类型初始值设定项引发异常。
--TypeName: System.Windows.Controls.FlowDocumentScrollViewer
StackTrace:
   在 System.Windows.Controls.FlowDocumentScrollViewer..ctor()
   在 MdXaml.MarkdownScrollViewer..ctor()

MissingMethodException: 找不到方法:“System.Windows.Input.RoutedUICommand System.Windows.Input.ApplicationCommands.get_CancelPrint()”。
--Message: 找不到方法:“System.Windows.Input.RoutedUICommand System.Windows.Input.ApplicationCommands.get_CancelPrint()”。
StackTrace:
   在 System.Windows.Controls.FlowDocumentScrollViewer.CreateCommandBindings()
   在 System.Windows.Controls.FlowDocumentScrollViewer..cctor()

 

解决方法

暂无解决方案。

相关信息
1 查看
3天3小时前
Quicker版本
版本 反馈次数
1.45.5 1