Exception:对类型“MdXaml.MarkdownScrollViewer”的构造函数执行符合指定的绑定约束的调用时引发了异常。“MdXaml.Highlighting.InternalHighlightManager”的类型初始值设定项引发异常。“DefaultHighlightingManager”的类型初始值设定项引发异常。“System.Xml.Schema.XmlSchemaComplexType”的类型初始值设定项引发异常。“System.Xml.Schema.DatatypeImplementation”的类型初始值设定项引发异常。给定的程序集名称或基本代码“C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll”无效。

报错信息

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.R8jtOxcTm7ESiiV7MlEh.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: “MdXaml.Highlighting.InternalHighlightManager”的类型初始值设定项引发异常。
--TypeName: MdXaml.Highlighting.InternalHighlightManager
StackTrace:
   在 MdXaml.Highlighting.InternalHighlightManager..ctor()
   在 MdXaml.Markdown.PluginUpdated()
   在 MdXaml.MarkdownScrollViewer..ctor()

TypeInitializationException: “DefaultHighlightingManager”的类型初始值设定项引发异常。
--TypeName: DefaultHighlightingManager
StackTrace:
   在 ICSharpCode.AvalonEdit.Highlighting.HighlightingManager.get_Instance()
   在 MdXaml.Highlighting.InternalHighlightManager.<.cctor>g__Register|2_0(String basename, String[] aliases)
   在 MdXaml.Highlighting.InternalHighlightManager..cctor()

TypeInitializationException: “System.Xml.Schema.XmlSchemaComplexType”的类型初始值设定项引发异常。
--TypeName: System.Xml.Schema.XmlSchemaComplexType
StackTrace:
   在 System.Xml.Schema.XsdBuilder.InitComplexType(XsdBuilder builder, String value)
   在 System.Xml.Schema.XsdBuilder.ProcessElement(String prefix, String name, String ns)
   在 System.Xml.Schema.Parser.ParseReaderNode()
   在 System.Xml.Schema.Parser.Parse(XmlReader reader, String targetNamespace)
   在 System.Xml.Schema.XmlSchemaSet.ParseSchema(String targetNamespace, XmlReader reader)
   在 System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, XmlReader schemaDocument)
   在 ICSharpCode.AvalonEdit.Highlighting.Xshd.HighlightingLoader.LoadSchemaSet(XmlReader schemaInput)
   在 ICSharpCode.AvalonEdit.Highlighting.Xshd.V2Loader.get_SchemaSet()
   在 ICSharpCode.AvalonEdit.Highlighting.Xshd.V2Loader.LoadDefinition(XmlReader reader, Boolean skipValidation)
   在 ICSharpCode.AvalonEdit.Highlighting.Xshd.HighlightingLoader.LoadXshd(XmlReader reader, Boolean skipValidation)
   在 ICSharpCode.AvalonEdit.Highlighting.HighlightingManager.DefaultHighlightingManager.RegisterHighlighting(String name, String[] extensions, String resourceName)
   在 ICSharpCode.AvalonEdit.Highlighting.Resources.RegisterBuiltInHighlightings(DefaultHighlightingManager hlm)
   在 ICSharpCode.AvalonEdit.Highlighting.HighlightingManager.DefaultHighlightingManager..ctor()
   在 ICSharpCode.AvalonEdit.Highlighting.HighlightingManager.DefaultHighlightingManager..cctor()

TypeInitializationException: “System.Xml.Schema.DatatypeImplementation”的类型初始值设定项引发异常。
--TypeName: System.Xml.Schema.DatatypeImplementation
StackTrace:
   在 System.Xml.Schema.XmlSchemaComplexType.CreateAnyType(XmlSchemaContentProcessing processContents)
   在 System.Xml.Schema.XmlSchemaComplexType..cctor()

FileLoadException: 给定的程序集名称或基本代码“C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll”无效。
--Message: 给定的程序集名称或基本代码“C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll”无效。
StackTrace:
   在 System.Delegate.BindToMethodInfo(Object target, IRuntimeMethodInfo method, RuntimeType methodType, DelegateBindingFlags flags)
   在 System.Delegate.CreateDelegateInternal(RuntimeType rtType, RuntimeMethodInfo rtMethod, Object firstArgument, DelegateBindingFlags flags, StackCrawlMark& stackMark)
   在 System.Delegate.CreateDelegate(Type type, MethodInfo method, Boolean throwOnBindFailure)
   在 System.Delegate.CreateDelegate(Type type, MethodInfo method)
   在 System.Xml.XmlQualifiedName.GetHashCodeDelegate()
   在 System.Xml.XmlQualifiedName.GetHashCode()
   在 System.Collections.Hashtable.InitHash(Object key, Int32 hashsize, UInt32& seed, UInt32& incr)
   在 System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   在 System.Xml.Schema.DatatypeImplementation.CreateBuiltinTypes()

 

解决方法

暂无解决方案。

相关信息
1 查看
10天19小时前
Quicker版本
版本 反馈次数
1.44.22 1