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

 

重要提示:

及時打補丁 就不會出現這個錯誤了。

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