[MonoDevelop] This collection does not exist!

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Sep 15 15:56:27 EDT 2008


On Mon, Sep 15, 2008 at 12:21 PM, laas <laas.mono at gmail.com> wrote:
> Hi Michael,
> first of all thank you for your answer. I've searched for WorkspaceItem in
> all source code file (i've downloaded also the latest MD source code) but
> with no results; in addition IdeApp does not exihibited a collection named
> Items. No results also from the search tool in the official site of
> MonoDevelop.
> So my next question is: where I should find the objects needed to perform
> your code ? Is this a feature in development ? Should I download MD source
> code from SVN ?

Workspaces were added after 1.0, so yes, this API is only present in
1.9 and SVN.

In 1.0, you would have to do

IdeApp.ProjectOperations.CurrentOpenCombine.GetAllProjects ()

In 1.9+ you can do

IdeApp.Workspace.GetAllProjects ()


-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list