[MonoDevelop] Monodevelop API?

Tiago tiago at psl-pr.softwarelivre.org
Wed Feb 22 11:04:42 EST 2006


Thank you so much for the answer, and especially for the sample. ;)

Best regards, 
MonoNoSaint.

Em Tue, 21 Feb 2006 11:15:40 +0100
Lluis Sanchez <lluis at ximian.com> escreveu:

> El dom, 19-02-2006 a las 19:57 -0300, Tiago escribió:
> > Hello! 
> > 
> > 
> > On this year I'll be very busy building an application to allow developers to build prototypes for database applications using Mono, Firebird DBMS and Gtk#. I'm planning it to work like wizards: given all the parameters I need I'll generate the SQLs and the .cs files to the application. 
> > 
> > I just have one concern right now:
> > Once I have, for example, all the cs and resource files, is there anyway I could automatically generate a solution to be opened on MonoDevelop after all the code and resources are generated?
> > 
> > To make myself clear: is there an API to allow me the process of developing a "MonoDevelop Solution"? 
> 
> 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.
> 
> Lluis.
> 
> > 
> > Once this will be my last graduation project, I would really like to develop something memorable to show the "power" of mono/gtk#/MonoDevelop. 
> > 
> > Best regards and thanks in advance. 
> > MonoNoSaint. 
> > 
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 


More information about the Monodevelop-list mailing list