Bug 15854 - Incrementally building the final project does not update the android resources from referenced assemblies
Summary: Incrementally building the final project does not update the android resource...
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.10.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Atsushi Eno
Depends on:
Reported: 2013-10-31 14:36 UTC by softlion
Modified: 2014-08-22 07:58 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description softlion 2013-10-31 14:36:18 UTC
I have a simple solution with an android app project, and an android library project, in debug mode. The library project has some android resources.

Build the app project (first time) and deploy it: it will work fine.

Update a resource in the library project, then build the app project (second time): it will build, but the deployed version will have the old resources not the updated ones.

A workaround is to "clear" the app project, then build it again.

I use VS2012, not tryed in Xamarin Studio.

This happens both with 4.10.0 and 4.8.x
Comment 1 Frank R 2013-12-22 08:15:36 UTC
Same bug with Xamarin Studio (Android 4.10.1). The resource IDs are updated in the app project, but the resources (layouts, strings) are not. The bug is related to the build of the app: as a workaround delete the "obj" folder of the app (no need to clean all projects).
Comment 2 Atsushi Eno 2014-08-22 07:58:46 UTC
During Xamarin.Android 4.16 development cycle we have improved resource generation handling a lot, and this kind of issue should have been resolved. Please try our beta or alpha version. If it still didn't resolve the issue, please reopen it. Thanks.