> Ian MacLean wrote:

> I'm still fleshing out the details but basically infer the locale based
> on the resx file name ( or allow it to be specified ) and then use

... or infer it if not specified?

> assemblylinker to build the satellite assemblies.

So you plan a comfort feature of implicitly "resgening" *.resx files to
*.resources files (as seen in the csc task) for the al task too?
I'd appreciate that.

> 
> >I'm asking because I'm doing a localized build (use of fallback *.resx-
> files
> >compiled into the main assembly and localized satellite assemblies) of
> >current Npgsql CVS
> >(http://gborg.postgresql.org/project/npgsql/projdisplay.php) using NAnt
> and
> >mostly all of my problems are outside of NAnt ([Linux] lack of Mono
> assembly
> >linker; [Mono Windows] monoresgen failure (at least for default
> >installation)).
> >
> So does that mean you can't use localised resources on mono if there is
> no assembly linker ?

It means you can't use satellite assemblies on mono as there's no way to
compile them (actually I never tried to run mcs without *.cs files and only
-resource:my.resource specified but I don't expect it to work ;-).

You still can compile the whole set of resources into the main assembly
using mcs and -resource:my.resource, or directly use the *.resources files
from the application (see:
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconretrievingresource
sinresourcesfiles.asp?frame=true)
(I never tried this too, I don't even know if the necessary classes are
implemented - but in this case I expect it to work.)
I personally expect the windows guys to use MS .Net (except developers who
should speak English) and the linux guys to speak some English until mono
provides an al.

> >
> >In Fact the only Nant-Problem (in my case) is the lack of a "Prefix"
> >Attribute for the resgen-task (to prefix the namespace to the *.resources
> >files) which I usually patch out for my own NAnt installation and fix by
> a
> >script-task (ugly) for the public.
> >
> >
> >
> OK - I'm going to fix that as well in the next day or so. Its a simple
> enough change.

Thanks in advance.

Brar




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to