安装完 markdownpad2 后,启动不了,出现了以下错误提示:
1. 先尝试使用下面链接的方法: markdownpad2安装后,启动失败
如果问题解决,就不用继续看下去了
2. 如果第一步还不能解决问题,查看 mardownpad2 的日志信息,我的日志信息如下:
------------------------------------------------
Exception Information:
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'MarkdownPad2.UserControls.MarkdownEditor' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Media.Fonts' threw an exception. ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection
... ...
------------------------------------------------
3. 谷歌了一下,发现是 Microsoft .NET Framwork 4.7.1 本身的漏洞导致的,如果在控制面板中发现安装了它,那么问题应该就找到了
4. 下载补丁工具:补丁
5. 安装即可(注意:安装一闪而过,没有安装界面的)
6. 问题解决