[Monodroid] BUG? Linked assets aren't copied into the apk, Preview 13 Visual Studio
Amir Waldman
amirw2k at gmail.com
Tue Mar 1 13:25:37 EST 2011
I tried sending a zip file to both your mail and to the mailing list, but
the attachment was rejected...
Regards,
Amir
-----Original Message-----
From: monodroid-bounces at lists.ximian.com
[mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
Sent: Tuesday, March 01, 2011 6:25 PM
To: monodroid at lists.ximian.com
Subject: Re: [Monodroid] BUG? Linked assets aren't copied into the apk,
Preview 13 Visual Studio
Based on that description, I don't see why it would be failing. Could you
provide the full MSBuild output (including, and specifically, the full
aresgen.exe and monodroid.exe command lines).
A .zip would still be useful, as <Link/> shouldn't be at issue... [0]
Thanks,
- Jon
[0] Famous Last WordsT
On Mar 1, 2011, at 10:59 AM, Amir Waldman wrote:
> Project Linker simply creates a link in the same way that you would add a
> file to your project and choose 'Add As Link'.
> The thing is that you can't do that with images or media files. Project
> Linker allows that and does it automatically when you add media files to
the
> source project where your original files are stored.
>
> This is how it looks in the csproj file.
>
> <AndroidAsset Include="..\AnotherProject\Assets\mypicture.png">
> <Link>Assets\mypicture.png</Link>
> </AndroidAsset>
>
> <AndroidAsset
> Include="..\AnotherProject\Assets\SomeFolder\another_picture.png">
> <Link>Assets\SomeFolder\another_picture.png</Link>
> </AndroidAsset>
>
> In the MonoDroid project I would see under Assets: mypicture.png with a
> shortcut icon. This file won't physically appear because it is linked to
> another location.
>
> I don't think a zip would help if you don't have Project Linker
installed...
>
> Regards,
> Amir
> -----Original Message-----
> From: monodroid-bounces at lists.ximian.com
> [mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
> Sent: Tuesday, March 01, 2011 5:38 PM
> To: monodroid at lists.ximian.com
> Subject: Re: [Monodroid] BUG? Linked assets aren't copied into the apk,
> Preview 13 Visual Studio
>
> On Mar 1, 2011, at 10:21 AM, Amir Waldman wrote:
>> Although I do use a class library, I put assets in the main assembly. The
>> main assembly is linked (using Project Linker) another project.
>
> I lack knowledge/experience/use of Project Linker, so I have no idea what
> impact this would have, if any.
>
>> Bottom line: main assembly has the assets, but they appear as linked
(with
> a
>> shortcut icon on them).
>
> Furthermore, I don't know what this means at the .csproj level, and what
> impact this has on the rest of the tooling. Are they listed as
> <AndroidAsset/>s within the .csproj? Something else?
>
> Could you zip up a sample project that demonstrates this issue for poking
> purposes?
>
> Thanks,
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
More information about the Monodroid
mailing list