Bug 18353 - modifying .axml files in a library do not cause a rebuild
Summary: modifying .axml files in a library do not cause a rebuild
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.12.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-03-13 09:55 UTC by dean.ellis
Modified: 2014-03-13 15:41 UTC (History)
3 users (show)

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


Attachments
Sample (41.41 KB, application/zip)
2014-03-13 09:55 UTC, dean.ellis
Details


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 for Bug 18353 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description dean.ellis 2014-03-13 09:55:56 UTC
Created attachment 6302 [details]
Sample

from case https://xamarin.desk.com/agent/case/64532

I've got my app structured into an Application and an Android Shared
library, because I have many versions of the app but the shared code is
common.

Whenever I make a change to the shared library, and click build, it builds
the shared library first, then the app, however, if I make a change in an
.axml file, it doesn't show up, unless I do a "Rebuild All"

I even tried "Rebuild" on just the shared library and then build, but
doesnt work.

I've attached a small project which shows this problem. to reproduce do
this following:

First, Build and Run it, click the button, notice the title of the new
button is "Button 1"
Next, Activity2.axml from AndroidClassLibrary1 and change the title to
"Button 2"
Build/run again, it will say "Button 1"
Do a "Rebuild All" and it will say "Button 2"
This seems like a bug?
Comment 1 Sadik Ali 2014-03-13 10:52:33 UTC
I have checked this is on below environments:

Window
XS 4.2.3 (Build 60)
XA 4.12.1

I have followed steps as mentioned in bug description.

1. Build/ run application and noticed that "Button 1"  displayed after click on "Hello World, Click Me!" button.
2. I modified  Activity2.axml from AndroidClassLibrary1 and change the title to
"Button 2"
3. Build/run again, and noticed that "Button 1"
4. When I "Rebuild All" then it will show "Button 2" after click on "Hello World, Click Me!" button.

Refer screen cast: http://screencast.com/t/Qpb90Qic6n