Bug 55561 - "Processing" messages spam Android build output
Summary: "Processing" messages spam Android build output
Status: IN_PROGRESS
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.2 (15.1)
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2017-04-25 14:34 UTC by Edward Brey
Modified: 2017-06-27 11:05 UTC (History)
2 users (show)

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


Attachments
Output from building the per the repro (137.57 KB, text/plain)
2017-04-25 14:34 UTC, Edward Brey
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 55561 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:
IN_PROGRESS

Description Edward Brey 2017-04-25 14:34:18 UTC
Created attachment 21763 [details]
Output from building the per the repro

Even with the MSBuild projects build output set to Minimal, the Android build output is voluminous, 731 lines for a trivial project. Most lines appear twice. This makes it hard to see real issues. For example, for some projects (but not in this simple repro), there are warnings that appear right after the line showing the dll output, which don't appear in the Error List window. Those warnings are dwarfed by hundreds of "processing" messages on either side of them.

Environment:
* VS2017
* Xamarain.Android SDK 7.2.0.7
* JDK: 1.8.0_112 (latest installed via VS2017)
* Android NDK: r13b (latest installed via VS2017)
* Android SDK: 7.1 (latest installed via Android Studio)
* MSBuild projects build output setting: Minimal

Repro:
1. Create new project: Blank App (Android)
2. Install-Package Xamarin.Forms -DependencyVersion Highest
3. Build

Results: Hundreds of lines like this, each appearing twice: "Processing: {path}.xml"
Comment 1 Edward Brey 2017-04-25 14:36:14 UTC
Forgot a step in the repro:
2.1: Add latest prerelease version of NuGet package Xamarin.Android.Support.Annotations. (This works around bug 52944.)
Comment 2 Edward Brey 2017-04-25 16:41:18 UTC
An example of an warning that gets buried among the spam is bug 55573.
Comment 3 Mark McLemore 2017-06-26 18:59:46 UTC
Confirmed. When I create a blank Android app, add Xamarin.Forms (as above) and build, my output total is 735 lines:

cat output.txt | wc -l

There is quite a lot of duplication in this output -- eliminating dupes in the output (below) decreases the line count to 369:

cat output.txt | sort | uniq | wc -l
Comment 4 dean.ellis 2017-06-27 11:05:32 UTC
PR up https://github.com/xamarin/xamarin-android/pull/673