SharpDevelop V5.1.0.5216 运行出错(win7 sp1) 解决方案

SharpDevelop V5.1.0.5216  运行出错

Exception thrown:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'ICSharpCode.SharpDevelop.Gui.FontSelector' 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 that matches current OS or greater: Windows7SP1

 

原因:

在安装 .NET FRAMEWORK 4.7.1之后发生,

 

具体原因及解决方案:

https://github.com/dotnet/announcements/issues/53

 

重要提示:

及时打补丁 就不会出现这个错误了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章