[MonoDevelop] Resx-files and code generation

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Jun 10 23:11:50 EDT 2010


On Thu, Jun 10, 2010 at 9:49 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Wed, Jun 9, 2010 at 5:55 AM, Oskar Berggren <oskar.berggren at gmail.com> wrote:
>> Is it possible to get MonoDevelop to generate the
>> someresource.Designer.cs file corresponding to someresource.resx, like
>> visual studio does?
>
> There is no support for this currently, but MD 2.4 does support
> "Custom tool" generators, so someone could implement the
> ResXFileCodeGenerator tool. If anyone's interested in doing so, I'd be
> happy to provide pointers.

It seems that the System.Resources.Tools.StronglyTypedResourceBuilder
class can be used to generate the code, which would make the
MonoDevelop extension trivial, except for one problem -  Mono does not
implement this class :/

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list