I'll need to fix it to remove assets no longer listed in the project 
file during each build.

A workaround would be to delete the $(MonoAndroidIntermediateAssetsDir) 
between builds.

Jonathan

On 10/5/2011 5:07 AM, Andrew Sinclair wrote:
> Hello,
>
> I know that the build process was revamped for 1.9. I'm seeing a problem
> that I didn't see before when building from the command line:
>
> Prior to 1.9
>   - build project (with clean) to create PackageA.apk
>   - build same project (with clean) using slightly different parameters to
> create PackageB.apk
>
> This has always worked fine, I end up with PackageA and PackageB, they
> contain slightly different assets.
>
> With 1.9
> Both packages build, but PackageB contains the assets for PackageA. The
> \obj\Release folder contains PackageA's assets at the end of this.
>
> I looked at the MonoDroid targets file and saw
> _CleanMonoAndroidIntermediateDir, so explicitly added this to the build.
> This works in that \obj\Release is updated with PackageB's assets. But...
> the PackageB.apk still contains the assets for PackageA.
>
> If I manually delete \obj\Release between builds then everything is fine.
>
> Is there another target that I should use in 1.9 to ensure that all
> intermediate files are cleared between builds?
>
> Anything else I might've missed?
>
> Thanks,
>
> Andy
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to