Normally, MonoDevelop only allows a single instance of itself to be open, since many of its data files (preferences, code completion databases and so on) are not designed to be accessed by multiple instances at once. However, it is possible to open multiple solutions at once. In the Welcome Page, hold down the Control key while clicking in an item in the Recent Projects list. There is a hint about this feature in the status bar while you hover over these items: "Hold Control key to open in current workspace". Do this, and the solution will be opened without closing the old one.
You can also open multiple solutions using the "Open" dialog. If you select a project or solution in the Open dialog, and a project or solution is already open, the dialog will show a "Close the existing workspace" checkbox, which is checked by default. Simply uncheck this, and open the solution.
The reason these options are named the way they are is that MonoDevelop always has an implicit workspace. Because it's implicit, it's not displayed in the solution pad, as it would just waste space. When you open a solution, MonoDevelop normally closes the existing workspace, and creates a new one for the newly opened solution. These options allow you to override that behaviour, and instead add the newly opened solution to the existing workspace.
Comments
Jens Fursund
Wed, 2011-03-23 02:47
Permalink
Nice! I have been wondering
Nice! I have been wondering how to do this!
Greg
Wed, 2011-03-23 06:16
Permalink
Awesome
I've been doing more and more with MonoTouch for work and have been wondering how to do this. Probably should have just asked someone....
Cheers!
Antoine
Wed, 2011-03-23 07:42
Permalink
so cool... I didn't know it
so cool... I didn't know it was possible. You made my day :-)
PaulBowden
Wed, 2011-03-23 09:50
Permalink
OMG - That's awesome! A
OMG - That's awesome! A coworker was complaining to me just last week how MonoDevelop couldn't open multiple disjoint solutions. Now I feel a legitimate 'well, actually' coming on! It's amazing that it's so easy to overlook the obvious/simple things.
Keep up the great tips, Michael! Perhaps you can also twist kangamono's arm to do MonoTouch tips :)
outinsun
Wed, 2011-03-23 12:11
Permalink
Set "close workspace" flag to false in a property?
Is there any way to set the "close workspace" flag to false by default? That way I wouldn't have to pause to uncheck the box every time I open a project.
Michael
Wed, 2011-03-23 19:38
Permalink
Not at the moment
Not at the moment, but I suggest you file an enhancement bug. We could either remember the state of the combo, or have a setting in MD preferences to control the default behaviour.