[mono-android] Drawables with a space in the filename?

Miljenko Cvjetko mcvjetko at holisticware.net
Thu Jan 19 12:13:31 UTC 2012


Hi
On 2012.01.19 00:07, Tossing, Chris wrote:
>
> Is it possible to use drawables with spaces in the filename?  I have 
> an image library that I would prefer to use as it is (has spaces in 
> the filenames).
>
> When I try to include a link to one of those files and set the Build 
> Action to AndroidResource, it comes back with:
>
> C:\Program Files 
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(392,2): error 
> MSB6006: "aapt.exe" exited with code 1.
>
> Is there any way to remove any spaces from the filenames of 
> AndroidResource files before running aapt.exe?
>
Only manually AFAIK...
As the matter of fact even double extensions are problematic...
I have script that generates automagically from single svg image all 
pngs for
iOS, Android and WP7

to differentiate I have added several layers of suffixes (hey is this 
plural form ok??) separated with '.'
But aapt says NO.
Changing suffix in scripts to '_' made aapt happy....

regards

mel
>
> Thank you,
>
> *Chris Tossing*
>
> Software Engineer
>
> G4S Technology Software Solutions LLC
>
> Direct Dial:      +1 (781) 457-0779
>
> Cell:                +1 (847) 942-0359
>
> chris.tossing at usa.g4s.com <mailto:chris.tossing at usa.g4s.com>
>
> www.1f.com <http://www.1f.com/>
>
> 21 North Avenue, Burlington, Massachusetts 01803 USA
>
> P *Please consider the environment before printing this email*
>
>
> ------------------------------------------------------------------------
> The details of this company are as follows:
> G4S Technology Limited, Registered Office: Challenge House, 
> International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered 
> in England No. 2382338.
>
> This communication may contain information which is confidential, 
> personal and/or privileged.
>
> It is for the exclusive use of the intended recipient(s).
> If you are not the intended recipient(s), please note that any 
> distribution, forwarding, copying or use of this communication or the 
> information in it is strictly prohibited.
>
> Any personal views expressed in this e-mail are those of the 
> individual sender and the company does not endorse or accept 
> responsibility for them.
>
> Prior to taking any action based upon this e-mail message, you should 
> seek appropriate confirmation of its authenticity.
>
> This e-mail has been scanned for all viruses by MessageLabs.
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid


-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rjes(enja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX juz(na obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120119/5f1ffa62/attachment.html>


More information about the Monodroid mailing list