> ## Content Index
> Fetch the complete content index at: https://blogs.remobjects.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Compiling and running monodevelop from VS.NET
- URL: https://blogs.remobjects.com/2009/05/20/compiling-and-running-monodevelop-from-vs-net/
- Published: 2009-05-20T13:17:03.000Z
- Updated: 2018-08-22T06:17:47.000Z
- Author: Carlo Kok
- Tags: #Import 2026-08-17 20:17

I’ve been spending a bit of time on MonoDevelop this week and gathered this information to get going with MonoDevelop.

First of all, you need GTK:  
[GTK](http://www.go-mono.com/mono-downloads/download.html?ref=blogs.remobjects.com) the “GTK# for .NET” binary (just install that)

Also you need [this zip file](https://blogs.remobjects.com/blogs/media/blogs/ck/MonodevelopDepencies.zip) for binaries, or grab them yourself:  
ICSharpCode.SharpZip.dll (from mono 2.4/lib)  
MonoDoc.dll (from mono 2.4/lib)  
Mono.Posix.dll (from mono 2.4/lib)  
MonoPosixHelper.dll (from mono 2.4/bin); this will need to be copied next to the MonoDevelop binaries  
Mono.Addins.\* (compiled version of [http://anonsvn.mono-project.com/source/trunk/mono-addins)](http://anonsvn.mono-project.com/source/trunk/mono-addins?ref=blogs.remobjects.com))

Place these files in a directory and add a registry entry for them so VS.NET can find them:

(win64) \[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft.NETFramework\\v2.0.50727\\AssemblyFoldersEx\\MonoBinaries\] @="D:\\Projects\\MD-checkouts\\bin" (win32) \[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Microsoft.NETFramework\\v2.0.50727\\AssemblyFoldersEx\\MonoBinaries\] @="D:\\Projects\\MD-checkouts\\bin"

Monodevelop itself can be fetched from:  
[http://anonsvn.mono-project.com/source/trunk/monodevelop](http://anonsvn.mono-project.com/source/trunk/monodevelop?ref=blogs.remobjects.com)

Then open the sln file in the source dir. Change the Configuration to DebugWin32 and go to Build/Configuration manager. Check all projects except:  
GnomePlatform  
MacPlatform  
MonoDevelop.NUnit (unless you have nunit)  
MonoDevelop.XmlEditor.Tests (unless you have nunit)  
UnitTests (unless you have nunit)

apply this temporary change (fixed in GTK svn already):

Index: main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs =================================================================== --- main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs (revision 134437) +++ main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs (working copy) @@ -292,7 +292,7 @@ Gtk.TargetList list = new Gtk.TargetList (); list.AddTextTargets (ClipboardActions.CopyOperation.TextType); - Gtk.Drag.DestSet (this, DestDefaults.All, (TargetEntry\[\])list, DragAction.Ask | DragAction.Default | DragAction.Move |Â DragAction.Copy); + <//Gtk.Drag.DestSet> (this, DestDefaults.All, (TargetEntry\[\])list, DragAction.Ask | DragAction.Default | DragAction.Move |Â DragAction.Copy); imContext = new IMMulticontext (); imContext.Commit += IMCommit;

Set the startup Project to Mono.Startup and run it.  
When you get a “File in use” error during compiling after you ran it before, open the task manager and kill the mdhost.exe task.