[Mono-list] Problem with monodevelop

Rodolfo Campero Rodolfo Campero <rodolfo.campero@gmail.com>
Mon, 4 Apr 2005 09:23:59 -0300


Hi,

On Apr 4, 2005 4:04 AM, Hubert FONGARNAND
<informatique.internet@fiducial.fr> wrote:
> When I try to load a cs file, nothing appear  unless this exception...
> Is there a problem with MIME?
> 
> Error while loading System.InvalidCastException: Cannot cast from source type
> to destination type.
> in <0x00058> GtkSourceView.SourceLanguagesManager:GetLanguageFromMimeType
> (System.String mime_type)
> in <0x00013> MonoDevelop.Services.SourceViewService:GetLanguageFromMimeType
> (System.String mimetype)
> in <0x00016> MonoDevelop.SourceEditor.Gui.SourceEditorBuffer:LoadText
> (System.String text, System.String mime)
> in <0x00036> MonoDevelop.SourceEditor.Gui.SourceEditorBuffer:LoadFile
> (System.String file, System.String mime)
> in <0x00050>
> MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBindingWrapper:Load
> (System.String fileName)
> in <0x0002a>
> MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding:CreateContentForFile
> (System.String fileName)
> in <0x00023> MonoDevelop.Services.DefaultFileService+LoadFileWrapper:Invoke
> (System.String fileName)
> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string
> (string)
> in <0x00014> MonoDevelop.Core.Services.FileUtilityService+LoadWrapper:Invoke
> ()
> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
> in <0x00018> MonoDevelop.Core.Services.FileUtilityService:ObservedLoad
> (MonoDevelop.Core.Services.FileOperationDelegate saveFile, System.String
> fileName, System.String message, FileErrorPolicy policy)
> 
> Could someone help me?

Try updating gtksourceview-sharp.