Bug 12584 - XS causes some files to be updated that xbuild doesn't with an android project
Summary: XS causes some files to be updated that xbuild doesn't with an android project
Status: RESOLVED DUPLICATE of bug 15162
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.6.x
Hardware: Macintosh Mac OS
: High normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2013-06-06 16:35 UTC by Stephen Shaw
Modified: 2013-11-20 10:22 UTC (History)
3 users (show)

Tags:
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:
Status:
RESOLVED DUPLICATE of bug 15162

Description Stephen Shaw 2013-06-06 16:35:05 UTC
If I do an install from the console with xbuild it takes roughly 13 - 14 seconds. If I don't change any code or even open tabs in XS it takes 47 - 56 seconds to redeploy.

Console:
sshaw@maclappy:~/code/path/Project ((94b8489...))$ time xbuild /t:Install /v:Diag AndroidProject.csproj > output.txt

real	0m13.641s
user	0m10.715s
sys	0m1.186s


Xamarin Studio (I get these messages):

Time Elapsed 00:00:47.2170900


Target _GeneratePackageManagerJava needs to be built as input file '/path/bin/Debug/AndroidProject.dll' is newer than output file 'obj/Debug/android/src/mono/MonoPackageManager.java'

Target _GenerateJavaStubs needs to be built as input file '/path/bin/Debug/AndroidProjec.dll' is newer than output file 'obj/Debug/acw-map.txt'
Comment 1 Mikayla Hutchinson [MSFT] 2013-06-17 17:47:39 UTC
Could you please attach full diagnostic build output for both of these cases?
Comment 2 PJ 2013-11-19 17:05:06 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 Stephen Shaw 2013-11-19 22:58:13 UTC
In general, the android build is slow for us. I'm no longer on the android team, so I'm not sure where this is to be honest.

I wouldn't be surprise if there is still an issue here, however I'm not sure I'll be able to get any more input :(
Comment 4 Jonathan Pryor 2013-11-20 10:22:56 UTC
@Stephen: If your project has an Android Library Project which contains Android Resources, then this is Bug #15162 (higher bug number because actual build log output), which was fixed and is in the Xamarin.Android 4.10.x builds.

If your project doesn't contain an Android Library Project which contains Android Resources, please (1) provide full diagnostic build output, and (2) reopen the bug.

*** This bug has been marked as a duplicate of bug 15162 ***