[MonoDevelop] Writing a codegen addin - how to start?
marc.gravell at gmail.com
Thu Dec 10 16:41:16 EST 2009
I'm glad I wasn't missing something obvious ;-p
The problem with putting it in the build is that we don't necessarily want
to pay the cost of running it every single build. Oh well; I'll see what I
can get hacked together, at any rate.
2009/12/10 Michael Hutchinson <m.j.hutchinson at gmail.com>
> On Thu, Dec 10, 2009 at 5:19 AM, Marc Gravell <marc.gravell at gmail.com>
> > I've started playing with MonoDevelop recently, and I'd be quite
> > in writing an add-in for codegen (similar to the "Custom Tool"
> > in VS). Any pointers on how to start writing such an add-in?
> > For detail, I'm hoping to add some "protocol buffers" support; the user
> > a ".proto" file (format defined by Google), and the add-in would (on
> > or when editing+saving the .proto) write the appropriate C#. Like below,
> > in MonoDevelop. Is there a suitable extension-point for this?
> We don't have VS-compatible "custom tool" functionality implemented in
> MD right now, though it would be useful to have, particularly as we
> migrate towards using xbuild for the build.
> The "easy" way to do this in MD right now would be to write a build
> extension that, pre-build, would process files with a certain build
> action. The "right" way would be to figure out how to support VS-style
> custom tools.
> Michael Hutchinson
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list