[Mono-dev] Resx files in Mono

Robert Jordan robertj at gmx.net
Thu Oct 9 10:44:31 UTC 2014


On 08.10.2014 23:05, Martin Thwaites wrote:
>
> I've tried adding a reference to it, and I can't find that assembly, even
> in the mono directories.
>
> So the question is, does compiling Resx files work in mono?
>

It does.

The long story: Microsoft has implemented the ResX support in
the System.Windows.Forms assembly (a GUI library) and reused
it from System.Web.

For compatibility reasons, Mono did the same (Mono's
System.Windows.Forms can be found in the Native.Windows.Forms
directory side-by-side with System.Web inside "mcs/class").

However, since System.Windows.Forms is kinda unsupported
and deprecated under Mono, the team has begun including
the ResX source code directly into System.Web:

https://github.com/mono/mono/blob/master/mcs/class/System.Web/System.Web.dll.sources


What you can do is:

- install System.Windows.Forms. It's usually part of Mono
but your disto might have split it into its own package.

- build your aspnet update inside Mono mcs/class tree while
reusing the build infrastructure. Look at how Mono's System.Web
is built.

Robert




More information about the Mono-devel-list mailing list