[Monodevelop-devel] "add file" template

Gianluca Masone gianluca.masone at gmail.com
Thu Feb 3 02:47:53 EST 2011


Hi Michael, thanks for the reply.
My problem now is where to place the XML file (I made an XML template file
for c# binding "MyCSharpFile.xft.xml").

I'm using Monodevelop on Mac and I have both Binary and Source Tree.

In the source tree I see a folder

monodevelop-2.4.2\monodevelop-2.4.2\src\addins\CSharpBinding\templates

... and I suppose that the XML have to be placed here!

In the Binary Tree I don't have this folder ... so I'm little bit confused!!
Where I have to put the XML file?

Regards.
GM




On Thu, Feb 3, 2011 at 7:33 AM, Michael Hutchinson <m.j.hutchinson at gmail.com
> wrote:

> 2011/2/2 Gianluca Masone <gianluca.masone at gmail.com>:
> > I want to develop a new kind of "add file" template (like "C# Class").
> > How ca I do?
> > I didn't find any article or resource!
> > Thanks
> > GM
>
> You must create a simple addin to register the .xft.xml file. The
> addin doesn't need to have any code, it only needs an .addin.xml
> manifest.
>
> For some information on creating addins, see:
> http://monodevelop.com/Developers/Articles/Addin_development_basics
>
> For an example of an addin that does not have code but only templates,
> see the OpenOddiceSamples addin:
> https://github.com/mono/monodevelop/tree/master/extras/OpenOfficeSamples
>
> There are many examples of .xft.xml template files throughout the MD
> source tree.
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>



-- 
**
Ingegnere Informatico*

**Citazione: Ciò che dobbiamo imparare a fare, lo impariamo facendo.
(Aristotele)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-devel-list/attachments/20110203/e43eb4d7/attachment.html 


More information about the Monodevelop-devel-list mailing list