Search Unity

MonoDevelop not working in latest version 4.1.4

Discussion in 'Editor & General Support' started by obrodhage, Jun 6, 2013.

  1. obrodhage

    obrodhage

    Joined:
    Jun 6, 2013
    Posts:
    10
    Updated to 4.1.4 on Windows 7 this morning and now MonoDevelop stopped working! :confused:
    All I get is a blank window with two blank dialog popups. Is anyone else having this problem?

    $mono_develop.jpg
     
  2. riffraffgames

    riffraffgames

    Joined:
    Apr 26, 2013
    Posts:
    4
    Same here, on Vista. Ouch.

    It's slightly different for me, there's a larger sized monodevelop-unity window (nothing rendered inside the border, it's transparent), and then a smaller window about the size of the ones in your screenshot.

    *blink*
     
  3. RickBurton

    RickBurton

    Joined:
    May 14, 2013
    Posts:
    9

    Just replying to say that I am having the same issue. if you resize the first error window it will show the error message.
     
  4. riffraffgames

    riffraffgames

    Joined:
    Apr 26, 2013
    Posts:
    4
    What's the error then? :)

    I just reinstalled 4.1.3f3 and was able to run MonoDevelop again no problem.
     
  5. obrodhage

    obrodhage

    Joined:
    Jun 6, 2013
    Posts:
    10
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
    at MonoDevelop.Components.Docking.ShadedContainer.DrawBackground(Widget w, Rectangle allocation)
    at MonoDevelop.Components.Docking.ShadedContainer.DrawBackground(Widget w) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Docking\ShadedContainer.cs:line 184
    at MonoDevelop.Ide.Gui.SdiDragNotebook.OnExposeEvent(EventExpose evnt) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\DefaultWorkbench.cs:line 1379
    at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
     
  6. bodiddlie1

    bodiddlie1

    Joined:
    May 7, 2013
    Posts:
    2
    Same here on Win7. Here's the error after resizing the window.

    $error.png
     
  7. RickBurton

    RickBurton

    Joined:
    May 14, 2013
    Posts:
    9
  8. nia1701

    nia1701

    Joined:
    Jun 8, 2012
    Posts:
    74
    Same here, windows 8!
     
  9. ninjingames

    ninjingames

    Joined:
    Apr 30, 2013
    Posts:
    1
    Same problem, same error message.
     
  10. Glockenbeat

    Glockenbeat

    Joined:
    Apr 24, 2012
    Posts:
    669
    Alright, though I'm not using MonoDevelop, seems like this release is buggy. Was on my way to updating. WAS. ;)
     
  11. Substance

    Substance

    Joined:
    Jun 6, 2013
    Posts:
    4
    Same thing here. Had to revert as well.
     
  12. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
  13. Lithion

    Lithion

    Joined:
    Jun 6, 2013
    Posts:
    1
    I had exactly the same issue and can confirm that the config file fixes the problem. Thank you Tak!
     
  14. Substance

    Substance

    Joined:
    Jun 6, 2013
    Posts:
    4
    Yup, that fixed it, thanks for the quick work!
     
  15. Omninorm

    Omninorm

    Joined:
    Jan 4, 2013
    Posts:
    5
    Thanks for the quick fix!
    Working now.
     
  16. EricJ13

    EricJ13

    Joined:
    Feb 28, 2009
    Posts:
    355
    Fix worked for me on Windows 8 after re-launching Unity 4.1.4. Thanks!
     
  17. obrodhage

    obrodhage

    Joined:
    Jun 6, 2013
    Posts:
    10
    Fix confirmed.Thanks for the quick response Tak!
     
  18. micsun

    micsun

    Joined:
    Mar 4, 2012
    Posts:
    8
    Fixed it for me too, thanks!
     
  19. bodiddlie1

    bodiddlie1

    Joined:
    May 7, 2013
    Posts:
    2
    Fix confirmed. Thanks Tak!
     
  20. Coderdood

    Coderdood

    Joined:
    Jul 22, 2012
    Posts:
    4
    Fix didn't work for me here, even after restarting Unity and the entire computer. Using Windows 8 - I have another install of MonoDevelop for non-unity development as well though.
     
  21. madlion

    madlion

    Joined:
    May 24, 2012
    Posts:
    2
    I still have the following problem:

    System.EntryPointNotFoundException: Der Einstiegspunkt "gtksharp_list_get_data" wurde nicht in der DLL "glibsharpglue-2" gefunden.

    bei GLib.List.gtksharp_list_get_data(IntPtr l)

    bei GLib.List.GetData(IntPtr current)

    bei GLib.ListBase.ListEnumerator.get_Current()

    bei GLib.ListBase.CopyTo(Array array, Int32 index)

    bei GLib.Marshaller.ListToArray(ListBase list, Type type)

    bei GLib.Marshaller.ListPtrToArray(IntPtr list_ptr, Type list_type, Boolean owned, Boolean elements_owned, Type elem_type)

    bei Gtk.Container.get_Children()

    bei MonoDevelop.Components.Commands.CommandToolbar.SetEnabled(Boolean enabled) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolbar.cs:Zeile 73.

    bei MonoDevelop.Components.Commands.CommandManager.RegisterCommandBar(ICommandBar commandBar) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:Zeile 1225.

    bei MonoDevelop.Components.Commands.CommandToolbar..ctor(CommandManager manager, String id, String title) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolbar.cs:Zeile 40.

    bei MonoDevelop.Components.Commands.CommandManager.CreateToolbar(String id, CommandEntrySet entrySet, Object initialTarget) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:Zeile 496.

    bei MonoDevelop.Components.Commands.CommandManager.CreateToolbar(String id, CommandEntrySet entrySet) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:Zeile 491.

    bei MonoDevelop.Components.Commands.CommandManager.CreateToolbarSet(String addinPath) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:Zeile 128.

    bei MonoDevelop.Ide.Gui.DefaultWorkbench.InitializeWorkspace() in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\DefaultWorkbench.cs:Zeile 271.

    bei MonoDevelop.Ide.Gui.Workbench.Initialize(IProgressMonitor monitor) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:Zeile 78.

    bei MonoDevelop.Ide.IdeApp.Initialize(IProgressMonitor monitor) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\Ide.cs:Zeile 171.

    bei MonoDevelop.Ide.IdeStartup.Run(String[] args) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:Zeile 242.
     
  22. Bryan-Pope

    Bryan-Pope

    Joined:
    Apr 30, 2013
    Posts:
    14
    Also fixed for me. Thanks Tak! Cheers!
     
  23. Souz

    Souz

    Joined:
    Feb 7, 2012
    Posts:
    12
    Didn't work for me. Same error.
     
  24. madlion

    madlion

    Joined:
    May 24, 2012
    Posts:
    2
    I just downgraded to 4.1.3 and there it works. So there ist somethink wrong in 4.1.4.
     
  25. vladk

    vladk

    Joined:
    Jul 10, 2008
    Posts:
    167
    The new *.exe.config file doesn't work - same error!

    System.EntryPointNotFoundException: Unable to find an entry point named 'gtksharp_list_get_data' in DLL 'glibsharpglue-2'.

    at GLib.List.gtksharp_list_get_data(IntPtr l)

    at GLib.List.GetData(IntPtr current)

    at GLib.ListBase.ListEnumerator.get_Current()

    at GLib.ListBase.CopyTo(Array array, Int32 index)

    at GLib.Marshaller.ListToArray(ListBase list, Type type)

    at GLib.Marshaller.ListPtrToArray(IntPtr list_ptr, Type list_type, Boolean owned, Boolean elements_owned, Type elem_type)

    at Gtk.Container.get_Children()

    at MonoDevelop.Components.Commands.CommandToolbar.SetEnabled(Boolean enabled) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolbar.cs:line 73

    at MonoDevelop.Components.Commands.CommandManager.RegisterCommandBar(ICommandBar commandBar) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 1225

    at MonoDevelop.Components.Commands.CommandToolbar..ctor(CommandManager manager, String id, String title) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolbar.cs:line 40

    at MonoDevelop.Components.Commands.CommandManager.CreateToolbar(String id, CommandEntrySet entrySet, Object initialTarget) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 496

    at MonoDevelop.Components.Commands.CommandManager.CreateToolbar(String id, CommandEntrySet entrySet) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 491

    at MonoDevelop.Components.Commands.CommandManager.CreateToolbarSet(String addinPath) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 128

    at MonoDevelop.Ide.Gui.DefaultWorkbench.InitializeWorkspace() in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\DefaultWorkbench.cs:line 271

    at MonoDevelop.Ide.Gui.Workbench.Initialize(IProgressMonitor monitor) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 78

    at MonoDevelop.Ide.IdeApp.Initialize(IProgressMonitor monitor) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\Ide.cs:line 171

    at MonoDevelop.Ide.IdeStartup.Run(String[] args) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line 242
     
  26. Souz

    Souz

    Joined:
    Feb 7, 2012
    Posts:
    12
    I've just installed Unity 4.1.3 again and MonoDevelop is now working.
     
  27. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    had same problem. restarting / reinstalling didnt work, but copying in that config file did the trick. Thanks
    ( windows 7 home premium)
     
  28. BrandSpankingNew

    BrandSpankingNew

    Joined:
    Nov 20, 2012
    Posts:
    220
    Ok, I need the fix too, but that link goes nowhere. What's the scoop? (Thanks, in advance, for any hand-holding!)
     
  29. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    link worked for me, just right clicked and "save-target-as" http://files.unity3d.com/levi/MonoDevelop.exe.config

    then save it to... Unity/MonoDevelop/bin/
     
  30. BrandSpankingNew

    BrandSpankingNew

    Joined:
    Nov 20, 2012
    Posts:
    220
    Grazie mille! My frustration had disconnected almost all of my circuits! :) I will look for a way to repay your kindness.

    EDIT: No effect. Maybe I will uninstall everything and, after re-install, prior to running anything I will grab this file again. fyi.
     
    Last edited: Jun 7, 2013
  31. BrandSpankingNew

    BrandSpankingNew

    Joined:
    Nov 20, 2012
    Posts:
    220
    Thank you, JonnyHilly, but I tried the above ... to no good effect. Reverted to 4.1.3 and Mono works again and everything is fine. I will wait for the much anticipated 4.2 and try again then. Thank's again.
     
  32. KKS21199

    KKS21199

    Joined:
    Nov 22, 2012
    Posts:
    139
    Same Problem,

    $Screenshot1.png

    On windows 8

    Edit : Ok now working fine and no probs after the fix..Wonder how could unity make this simple misatke
     

    Attached Files:

    Last edited: Jun 7, 2013
  33. cabfe

    cabfe

    Joined:
    Jun 7, 2013
    Posts:
    1
    Fix doesn't work on my XP SP3 with Unity 4.1.4
    I reverted to 4.1.3 and MonoDevelop works now.
     
  34. GallopingGames

    GallopingGames

    Joined:
    Mar 13, 2013
    Posts:
    26
    Finally got this to work on Windows 7 pro 64bit.

    Thanks for the fix!

    Be careful that windows doesn't rename the file MonoDevelop.exe (removing the .config) when using right click "Save file as..." that stopped it working for me the first few tries, and may be why it doesn't work for some users.

    I saved target to desktop, then checked the name, deleted the original, then moved the file to the correct folder just to be sure.

    Cheers
     
  35. dj100500

    dj100500

    Joined:
    Jun 7, 2013
    Posts:
    1
    Fix don't work.
    Same problem
     
  36. Bluestrike

    Bluestrike

    Joined:
    Sep 26, 2009
    Posts:
    256
    The fix works but I am unable to type the " and ' symbols in monodevelop.
     
  37. flberger

    flberger

    Joined:
    May 15, 2013
    Posts:
    9
    The fix downloading the file did not work here (Win 7) either.
     
  38. MarcinD

    MarcinD

    Joined:
    Mar 13, 2013
    Posts:
    2
    Fix file worked for me on Windows 7 Pro SP 1.

    Just copied and pasted the file into mentioned folder (while Unity3D and MonoDevelop was closed down).

    Thank you for that! Was getting so annoyed to have to edit JS files with no intelli-sense in an external editor.
     
  39. MarcinD

    MarcinD

    Joined:
    Mar 13, 2013
    Posts:
    2
    I checked mine and it works with the " and '. Must be your keyboard or something screwy in windows.
     
  40. Coderdood

    Coderdood

    Joined:
    Jul 22, 2012
    Posts:
    4
    Still doesn't work for me on Windows 8 with 4.1.5f1:

     
  41. Ericroy

    Ericroy

    Joined:
    Oct 9, 2010
    Posts:
    11
    Tak,
    THANK YOU. Your solution solved the problem for me. Thanks again!!!
     
  42. johnnieZombie

    johnnieZombie

    Joined:
    Oct 23, 2012
    Posts:
    27
    thank you this fixed the issue for me on my Windows Vista and my Windows 8 machines!
     
  43. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    As far as I can see, Unity just release 4.1.5 which resolves exactly that issue.

    Edit: Missed the post of Coderdood, who still has the issue with 4.1.5.
     
    Last edited: Jun 7, 2013
  44. MeroTrydal

    MeroTrydal

    Joined:
    Sep 17, 2012
    Posts:
    1
    Thanks Tak! That did the trick.
     
  45. Voidworx

    Voidworx

    Joined:
    Jun 9, 2013
    Posts:
    7
    I had the same problems with version 4.1.5f and the .config file was not the problem. Turns out, I had installed the PS Mobile 1.00 toolkit last year, and it included a separate installation of GtkSharp. I uninstalled GtkSharp and removed it from my system PATH, and now MonoDevelop runs properly. Running 64-bit Windows 7.
     
  46. nacs

    nacs

    Joined:
    Jun 5, 2013
    Posts:
    6
    Had the same problem after upgrading to 4.1.5f earlier. The .config tip didn't work but based on Void's suggestion, I looked through my installed programs and found a "GTK# for .net" installed so removed it and mono started properly afterwards

    Weird thing is I had no problems with this with 4.1.3 so I'm guessing Unity changed something in this release to use the system wide GTK or something? Either way, sounds like a bug to look into for Unity guys.
     
  47. sonicviz

    sonicviz

    Joined:
    May 19, 2009
    Posts:
    1,051
    ty @ nac void you solved my UNity 4.1.5 issue! http://forum.unity3d.com/threads/185513-MonoDevelop-not-working-in-latest-version-4-1-5
     
    Last edited: Jun 12, 2013
    nacs likes this.
  48. direflail

    direflail

    Joined:
    May 21, 2013
    Posts:
    2
    I was having this issue when I upgraded to 4.1.5f. Tried the config fix to no avail. Rolled back to 4.1.3 and now MonoDevelop refuses to start with no error messages or anything. I'm on Windows 8.

    Anybody know how to hook Visual Studio 2012 Express up to this thing? :-D

    **edit wow, I wasn't actually expecting to find a way to use VS2012. I'll be using it now, but I still would like the devs to know this issue is still out there with MonoDevelop!

    *** further edit -- found nac's solution where you remove "GTK# for .net" and it worked for me. I don't know what put it on my machine but it is dead now. Thanks for the help, everyone!
     
    Last edited: Jun 12, 2013
  49. spii

    spii

    Joined:
    Nov 11, 2012
    Posts:
    2
    What worked for me was to go into Control Panel -> programs and uninstall GTK. Then reinstall Unity.
     
  50. Stromsky

    Stromsky

    Joined:
    Jul 15, 2013
    Posts:
    1
    Thanks, this did the trick for me! :)
     
    nacs likes this.