MonoDevelop 4.0.1 Copy / Paste Issue

I am using Unity 4.3 with MonoDevelop 4.0.1 on Windows. Somehow Mono can’t copy text from external applications like Google Chrome or Notepad. The the text is getting copied to clipboard as I can paste from Chrome to Notepad. But in Mono I can’t paste text somehow.

Am I the only one with this problem? Any solutions?

I sometimes get this problem. Whenever I have problems I close all open tabs then I use Build → Clean All, and then Build → Build All and then restart MonoDevelop. Seems to work, most of the time…

Closing and reopening MonoDevelop (5.9.6) works for me.

I had the same issue and found a solution here.

If you have ever used Xamarin monodevelop it installs GTKSharp and doesn’t clean up after itself when uninstalled. Unity’s version was incorrectly using the Program Files(x86)\GTKSharp libraries instead of the local ones in Unity\Monodevelop\lib\gtksharp-2.0 . After removing the other copy in program files I can now paste.

After uninstalling gtk# for .NET from the Programs and Features control panel and restarting monodevelop I could copy and paste happily.

I seen a solution to this somewhere that worked for me.
It was to hold ctrl and press right arrow then left arrow.
Going back and forth seemed to fix it for me once.

Uninstalling GTK# for .NET also worked for me.

Those are the steps :

  1. Fully close MonoDevelop.

  2. Got to your Programs & Features menu.
    It’s the default menu that allows you to uninstall program from your PC.
    On Windows 8 or later version, you might have to check the “All Programs” list because that menu was fused with it.

  3. Look for GTK# for .NET XX.XXXX where the X are version numbers

  4. Uninstall it. (Wait for it to be fully done)

  5. Now, you should not be able to open any scripts in Unity IF MonoDevelop is still your default script manager software in Unity’s pref. You should get an error message that something wrong happened when trying to open MonoDevelop. If you can still open MonoDevelop, you might have more than one version of GTK# for .NET and should look for those.

  6. Go to this website : Redirecting… and download ONLY the GTK# for .NET. You won’t be able to install anything else as you still have a different version of MonoDevelop installed with Unity.

  7. Install the new downloaded GTK# for .NET

  8. Open MonoDevelop (any script) in your Unity project.

  9. In MonoDevelop : Built > Clean All then Built > Build All (F8 by default).

Now, Copy-Paste should be working.

Removing “gtk# for .NET” and installing it again worked fine for me. Thanks !

Copy from Chrome/Evernote and Paste (Ctrl+V) to MonoDevelop doesnt work in version thta comes with Unity2017.2
tried all quick solutions from the topic - no result.

Open close works but this is annoying !!! Any other solution ?

Another workaround for this is to right click the tab at the top of the open text editor, then select “Copy file path/name”. Then you can copy text from the other application and paste it into the text editor again.

This way you don’t have to close and re-open MonoDevelop every time.

I have found a solution to this issue!
Copy a piece of text from within the MonoDevelop IDE and paste it into the MonoDevelop IDE. Now the paste buffer will copy/paste from an external source. I cannot take credit for this, as I found this in a comment by pixpusher2 in the following thread. https://forum.unity.com/threads/cant-paste-text-into-monodevelop-in-windows-5-3-3.391068/

Here’s a method that works without needing to restart Monodevelop: if you use “Save As” to save any of the open files to a different name, pasting will now work on all the open files. Not sure why this works but it does, at least on my version.