Same error with 3.0.
SharpDevelop Version : 3.1.0.4077
.NET Version : 2.0.50727.3074
OS Version : Microsoft Windows NT 6.0.6001 Service Pack 1
Current culture : Hungarian (Hungary) (hu-HU)
Current UI language : en-US
Running under WOW6432, processor architecture: AMD64
Working Set Memory : 57704kb
GC Heap Memory : 9317kb
Exception thrown:
System.ArgumentException: Font 'Courier New' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize)
at ICSharpCode.TextEditor.Document.DefaultTextEditorProperties..ctor()
at ICSharpCode.TextEditor.Document.DefaultDocument..ctor()
at ICSharpCode.TextEditor.Document.DocumentFactory.CreateDocument()
at ICSharpCode.TextEditor.TextEditorControl..ctor()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl..ctor(Boolean enableFolding, Boolean sdBookmarks)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl..ctor()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBindingWrapper.CreateSharpDevelopTextAreaControl()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBindingWrapper..ctor(OpenedFile file)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding.CreateWrapper(OpenedFile file)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding.CreateContentForFile(OpenedFile file)
at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, Byte[ content)
at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String content)
at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, Byte[ binaryContent)
at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---- Recent log messages:
21:33:53.230 [1] INFO - Loading addin StartPage.dll
21:33:54.369 [1] DEBUG - ActiveWorkbenchWindowChanged to ICSharpCode.SharpDevelop.Gui.SdiWorkspaceWindow, Text: Browser
21:33:54.369 [1] DEBUG - NavigationService
ActiveViewContent: Browser
Subview: TabPageText
21:33:54.369 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane
21:33:54.369 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane
21:33:54.384 [1] DEBUG - NavigationService -- resume logging
21:33:54.384 [parser] INFO - ParserUpdateThread started
21:33:54.400 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.CompilerMessageView...
21:33:54.431 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Project.ProjectBrowserPad...
21:33:54.431 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.PropertyPad...
21:33:54.431 [1] DEBUG - PropertyPad created
21:33:54.509 [1] DEBUG - Attached event handler to opencombine button
21:33:55.149 [parser] DEBUG - Loading PC for mscorlib...
21:33:55.149 [parser] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\mscorlib.xml
21:33:55.149 [parser] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.xml
21:33:55.149 [parser] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\mscorlib.xml
21:33:55.149 [parser] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.xml
21:33:55.882 [parser] DEBUG - Loaded mscorlib with Reflection in 733 ms
21:33:56.069 [parser] DEBUG - Saved mscorlib to cache
21:33:59.969 [1] DEBUG - ActiveViewContentChanged to
21:33:59.969 [1] DEBUG - ActiveContentChanged to
21:33:59.969 [1] DEBUG - ActiveWorkbenchWindowChanged to
21:34:01.077 [1] INFO - Run command ICSharpCode.SharpDevelop.Commands.CreateNewFile
21:34:02.777 [1] INFO - Loading addin XmlEditor.dll
21:34:02.793 [1] ERROR - ThreadException caught
--> Exception:
System.ArgumentException: Font 'Courier New' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize)
at ICSharpCode.TextEditor.Document.DefaultTextEditorProperties..ctor()
at ICSharpCode.TextEditor.Document.DefaultDocument..ctor()
at ICSharpCode.TextEditor.Document.DocumentFactory.CreateDocument()
at ICSharpCode.TextEditor.TextEditorControl..ctor()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl..ctor(Boolean enableFolding, Boolean sdBookmarks)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl..ctor()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBindingWrapper.CreateSharpDevelopTextAreaControl()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBindingWrapper..ctor(OpenedFile file)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding.CreateWrapper(OpenedFile file)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding.CreateContentForFile(OpenedFile file)
at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, Byte[ content)
at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String content)
at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, Byte[ binaryContent)
at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: <null>
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>