[Mono-osx] Language satellite assemblies not copied into app bundle

Maxi Combina maxi.combina at passwordbank.com
Wed May 25 04:03:59 EDT 2011


Hi Kennet,

setting the build action to Content does not work: it copies my
Localte.ca-ES.resx files into MyApp.app/Content/Resources, but I actually
need MyApp.app/Content/Resources/ca-ES/MyApp.resources.dll.

In my Linux project (also using MD) I mark the .resx files as "Embed as
resource", and it works just fine: the languages directories (ca-ES, en-US,
etc) are created, and a MyApp.resources.dll file is copied inside each
directory.

Please let me clarify one thing, as I did not explain my problem very well
in the first place: when setting Build Action to "Embed as resource"
MonoMac/MD *is* actually generating ca-ES/MyApp.resources.dll (and similar
dir/file structure), but it won't copy them into the final bundle. In the
output directory I can see:

MonoMac.dll
MyApp.app/
MyApp.exe
ca-ES/MyApp.resources.dll
en-US/MyApp.resources.dll
...


As a workaround, I have a script that copies the l10n dir/file structure
into MyApp.app/Content/Resources, but I think it would be nice that MonoMac
could take care of this

Thanks!
maxi

2011/5/24 kjpou <kjpou at pt.lu>

>  Maxi
>
> Can you change the Build Action to Content and see if that works?
>
> Kenneth
>
>
> On 5/24/11 3:47 PM, Maxi Combina wrote:
>
> Hi,
>
>  is there anything I can do to help out with this?
>
>  Thanks,
> maxi
>
> 2011/4/5 Maxi Combina <maxi.combina at passwordbank.com>
>
>> Hello,
>>
>>  my application has language support via .resx files. They correctly
>> generated, but are not copied inside the MyApp.app bundle when I compile.
>> I can see the different directories (one for each culture) such as ca-ES,
>> en-US or zh-CN genereated. It is only that they don't get copied inside the
>> final app bundle.
>> If I manually copy them, I get the expected l10n to work.
>>
>>  Am I missing some configuration option? Or is this an issue?
>> It is not a big deal, just that it would be great that the generated
>> satellite assemblies got automagically included inside my bundle :)
>>
>>  Thanks,
>> maxi
>>
>> --
>> *Maxi Combina*
>>  Cell:+1 408 300 3614
>>  Tel:  +1 408 524 1579
>>  440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
>>
>>  www.PasswordBank.com <http://www.passwordbank.com/>
>>   This message and its attachments are sent from PasswordBank, Inc. and
>> may contain information that is
>> confidential. If you are not the intended recipient, you are prohibited
>> from printing, copying, forwarding or
>> saving them. Please delete the message and attachments without printing,
>> copying, forwarding or saving
>> them, and notify the sender immediately. Message transmission is not
>> guaranteed to be secure.
>>
>>
>
>
> --
> *Maxi Combina*
>  Cell:+1 408 300 3614
>  Tel:  +1 408 524 1579
>  440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
>
>  www.PasswordBank.com <http://www.passwordbank.com/>
>   This message and its attachments are sent from PasswordBank, Inc. and
> may contain information that is
> confidential. If you are not the intended recipient, you are prohibited
> from printing, copying, forwarding or
> saving them. Please delete the message and attachments without printing,
> copying, forwarding or saving
> them, and notify the sender immediately. Message transmission is not
> guaranteed to be secure.
>
>
> _______________________________________________
> Mono-osx mailing listMono-osx at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-osx
>
>


-- 
*Maxi Combina*
Cell:+1 408 300 3614
Tel:  +1 408 524 1579
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA

<http://www.passwordbank.com/>www.PasswordBank.com<http://www.passwordbank.com/>
This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110525/9c3c6eb7/attachment-0001.html 


More information about the Mono-osx mailing list