这是MonoDevelop的错误吗?

时间:2013-06-10 12:15:51

标签: ide monodevelop

我使用Debian Squeeze和MonoDevelop 2.4作为我的程序,我遇到了一些问题。当我尝试保存项目的更改时,我有MonoDevelop的下一个消息对话框:

  

System.NullReferenceException:未将对象引用设置为对象的实例     在MonoDevelop.GtkCore.GuiBuilder.CodeBinder.IsValidClass(MonoDevelop.Projects.Dom.Parser.ProjectDom ctx,IType cls,Stetic.Component obj)[0x00000] in:0     在MonoDevelop.GtkCore.GuiBuilder.CodeBinder.GetClass(Boolean getUserClass)[0x00000] in:0     在MonoDevelop.GtkCore.GuiBuilder.CodeBinder.GetClass()[0x00000] in:0     在MonoDevelop.GtkCore.GuiBuilder.CodeBinder.UpdateBindings(System.String fileName)[0x00000] in:0     在MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.Save(System.String fileName)[0x00000] in:0     在MonoDevelop.Ide.Gui.Document.Save()[0x00000]中:0     在MonoDevelop.Ide.Gui.Workbench.SaveAll()[0x00000]中:0     在MonoDevelop.Ide.Commands.SaveAllHandler.Run()[0x00000] in:0     在MonoDevelop.Components.Commands.CommandHandler.Run(System.Object dataItem)[0x00000] in:0     在MonoDevelop.Components.Commands.CommandHandler.InternalRun(System.Object dataItem)[0x00000] in:0     在MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand(MonoDevelop.Components.Commands.ActionCommand cmd,MonoDevelop.Components.Commands.CommandInfo info,System.Object dataItem,System.Object target,CommandSource source)[0x00000] in:0     在MonoDevelop.Components.Commands.CommandManager.DispatchCommand(System.Object commandId,System.Object dataItem,System.Object initialTarget,CommandSource source)[0x00000] in:0

当我尝试为项目的表单添加一些事件时,我也一样。它是什么意思,我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

你应该尝试使用最新的Mono和最新的MonoDevelop,

http://pkg-mono.alioth.debian.org/(3.0.6)

http://monodevelop.com/Download(4.0.8)

MonoDevelop 2.4。*是两年前的事,

http://monodevelop.com/Download/MonoDevelop_2.4.2_Released?highlight=2.4+release+notes