[MonoDevelop] Monodevelop API?

Rudi rudi.pettazzi at gmail.com
Wed Feb 22 10:04:20 EST 2006

On 2/21/06, Lluis Sanchez <lluis at ximian.com> wrote:
> Yes, there is a an API you can use to work with projects and solutions.
> Here is some sample code you can use to create a project with two files:
> DotNetProject project = new DotNetProject ("C#", null, null);
> project.Name = "myproject";
> project.AddFile ("main.cs", BuildAction.Compile);
> project.AddFile ("image.png", BuildAction.EmbedAsResource);
> project.Save ("myproject.mdp");
> You need to include MonoDevelop.Projects to compile this.

I think a script to build a raw solution from the contents of a
directory could be useful.
At the moment importing an existing project is quiet hard because you
have to add one file at a time from the project pad. By the way, is it
planned an option to add multiple files into a solution from the
projects pad?


More information about the Monodevelop-list mailing list