[Mono-dev] Resx files in Mono

Martin Thwaites monoforum at my2cents.co.uk
Fri Oct 10 20:02:24 UTC 2014


Thanks Robert that explains a bit.

My goal was to make a minimal amount of changes to the webstack so that it
could be kept upto date easily.  Looking at the way it's done currently by
creating a csproj file that references the files individually, I'm not sure
it's possible.

What I'm not thinking is that it may be better to simply make the
aspnetwebstack source be able to compile standalone on mono.

I'm open to suggestions, I'm not sure I'm the best man/woman/person for the
job, however I really want to give it a go.

Thanks,
Martin

On 9 October 2014 11:44, Robert Jordan <robertj at gmx.net> wrote:

> 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
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141010/577f3bab/attachment.html>


More information about the Mono-devel-list mailing list