[MonoDevelop] Just cant open the source files

kingInfy abhishek.saraiya at lntinfotech.com
Fri Mar 27 06:22:43 EDT 2009


Please help...
This is what i have done so far. ...
1) installed monoaddins
2) installed gtksourceview-sharp 2
3) installed monodocs
4) Then installed monodevelop

When i run the IDE, it starts successfully. I can create projects
successfully. But when i try to open any file i get the following error ...
Exception occurred: Exception has been thrown by the target of an
invocation.

System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.TypeInitializationException: An
exception was thrown by the type initializer for
MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding --->
System.DllNotFoundException: libgtksourceview-1.0.so.0
  at (wrapper managed-to-native)
GtkSourceView.SourceTagTable:gtk_source_tag_table_get_type ()
  at GtkSourceView.SourceTagTable.get_GType () [0x00000] 
  at GtkSharp.GtksourceviewSharp.ObjectManager.Initialize () [0x00000] 
  at GtkSourceView.GtkSourceViewManager.Init () [0x00000] 
  at MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding..cctor ()
[0x00000] --- End of inner exception stack trace ---

  at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] --- End of inner
exception stack trace ---

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
[0x00000] 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] 
  at System.Activator.CreateInstance (System.Type type) [0x00000] 
  at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] 
  at Mono.Addins.InstanceExtensionNode.GetInstance () [0x00000] 
  at MonoDevelop.Ide.Codons.DisplayBindingCodon.get_DisplayBinding ()
[0x00000] 
  at MonoDevelop.Ide.Gui.DisplayBindingService.GetCodonPerFileName
(System.String filename) [0x00000] 
  at MonoDevelop.Ide.Gui.DisplayBindingService.GetBindingPerFileName
(System.String filename) [0x00000] 
  at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (System.Object openFileInfo)
[0x00000] 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (System.String fileName,
Int32 line, Int32 column, Boolean bringToFront, System.String encoding,
IDisplayBinding binding) [0x00000] 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (System.String fileName,
Int32 line, Int32 column, Boolean bringToFront) [0x00000] 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (System.String fileName,
Boolean bringToFront) [0x00000] 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (System.String fileName)
[0x00000] 
  at
MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFileNodeCommandHandler.ActivateItem
() [0x00000] 
  at MonoDevelop.Ide.Gui.Pads.TreeViewPad.ActivateCurrentItem () [0x00000] 
  at MonoDevelop.Ide.Gui.Pads.TreeViewPad.OnNodeActivated (System.Object
sender, Gtk.RowActivatedArgs args) [0x00000] 
  at Gtk.TreeView.RowActivatedSignalCallback (IntPtr arg0, IntPtr arg1,
IntPtr arg2, IntPtr gch) [0x00000] 

libgtksourceview-1.0.so.0 is very well present at 
/opt/mono-1.9.1/lib/libgtksourceview-1.0.so.0
/usr/lib/libgtksourceview-1.0.so.0
Also i have gtksourceview18 already installed!
Please can u suggest what should i do to get things working!!!!!!
-- 
View this message in context: http://www.nabble.com/Just-cant-open-the-source-files-tp22739006p22739006.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list