Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 14415 [details]
Sample solution to illustrate problem
If you have an AXML file that is in a library project rather than directly in the application itself, and you:
1. Compile and run the app
2. Stop the app and edit the axml file
3. Compile and run the app
The compiled app will still contain the original unedited AXML resource. You have to do a Build -> Clean Solution before step 3 for the changes to the AXML to be noticed by the compiler.
This occurs in Xamarin Studio and Visual Studio.
Attached is the standard "Hello World" Andoird app with Main.axml moved to a library to illustrate the problem. If you run this, then change the text size of the button it won't have any effect until you clean.
I think this is fixed in our master branch.. Will test the attached project and confirm.
Oddly the updated file makes it into the intermediate directory of the main app.. but it is NOT updating the apk.
I think I tracked down the problem. It was a mistake in the .target files we were using a Property when it should have been an Item when checked the dependencies on the _CreateBaseApk Target. Working on a fix now
Fixed in monodroid/master/189f9787
*** Bug 38023 has been marked as a duplicate of this bug. ***