Bug 32418 - Need MSBuild output when downloading maven zip files and unzipping
Summary: Need MSBuild output when downloading maven zip files and unzipping
Status: REOPENED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 5.1
Hardware: PC Windows
: --- normal
Target Milestone: 6.0 (C6)
Assignee: dean.ellis
URL:
: 32419 ()
Depends on:
Blocks:
 
Reported: 2015-07-24 14:51 UTC by Jeremy Kolb
Modified: 2016-09-28 22:20 UTC (History)
7 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 for Bug 32418 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:
REOPENED

Description Jeremy Kolb 2015-07-24 14:51:59 UTC
I'm building my app and it appears to be paused for about 15 minutes. I just see:

5>------ Build started: Project: MinefieldManagement.Droid, Configuration: Debug Any CPU ------

in the output log.

It turns out that Xamarin is downloading android_m2repository_r16.zip into AppData\Local\Xamarin\Android.Support.v7.CardView\22.2.1 and unzipping the file.  To all appearances it looks like my build has hung.  I also can't cancel it while it's doing this.

It would be **really** useful if there were some notification in the build output/log that it's downloading the file and later unzipping it.
Comment 1 Ashley Gazich [MSFT] 2015-07-28 11:34:02 UTC
*** Bug 32419 has been marked as a duplicate of this bug. ***
Comment 2 Ashley Gazich [MSFT] 2015-07-28 11:36:50 UTC
Customer issue part 2: Cannot cancel build when it's downloading and unzipping android_m2repository_r16.zip
Comment 3 Jonathan Pryor 2015-08-01 09:08:21 UTC
Fixed in monodroid/e8737f15.
Comment 4 Jeremy Kolb 2016-04-07 18:09:38 UTC
This is still an issue in Visual Studio 2015 Update 2.  I see the following in the build output:

1>------ Build started: Project: MvvmCross.Droid.Support.V7.RecyclerView, Configuration: Debug Any CPU ------
2>------ Build started: Project: MvvmCross.Droid.Support.V4, Configuration: Debug Any CPU ------
2>C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V4\EventSource\MvxEventSourceDialogFragment.cs(58,30,58,38): warning CS0672: Member 'MvxEventSourceDialogFragment.OnAttach(Activity)' overrides obsolete member 'Fragment.OnAttach(Activity)'. Add the Obsolete attribute to 'MvxEventSourceDialogFragment.OnAttach(Activity)'.
2>C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V4\EventSource\MvxEventSourceFragment.cs(59,30,59,38): warning CS0672: Member 'MvxEventSourceFragment.OnAttach(Activity)' overrides obsolete member 'Fragment.OnAttach(Activity)'. Add the Obsolete attribute to 'MvxEventSourceFragment.OnAttach(Activity)'.
2>C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V4\EventSource\MvxEventSourceListFragment.cs(58,30,58,38): warning CS0672: Member 'MvxEventSourceListFragment.OnAttach(Activity)' overrides obsolete member 'Fragment.OnAttach(Activity)'. Add the Obsolete attribute to 'MvxEventSourceListFragment.OnAttach(Activity)'.
2>C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V4\EventSource\MvxEventSourceListFragment.cs(61,13,61,36): warning CS0618: 'Fragment.OnAttach(Activity)' is obsolete: 'deprecated'
2>C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V4\EventSource\MvxEventSourceDialogFragment.cs(61,13,61,36): warning CS0618: 'Fragment.OnAttach(Activity)' is obsolete: 'deprecated'
2>C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V4\EventSource\MvxEventSourceFragment.cs(62,13,62,36): warning CS0618: 'Fragment.OnAttach(Activity)' is obsolete: 'deprecated'


While the build progress bar is sitting there.

There appears to be a zip file in C:\Users\jkolb\AppData\Local\Xamarin\zips that is slowly increasing in size but if I didn't know to look there I wouldn't know that Xamarin is downloading a zip file.
Comment 5 dean.ellis 2016-04-11 11:28:02 UTC
what logging level are you using? The output will NOT show up if you are using "Quiet" it will only appear for "Normal" and above. 
Also which Xamarin.Android version are you using ? (I assume the latest stable)
Comment 6 Jeremy Kolb 2016-04-11 14:35:31 UTC
I believe I was using Quiet.  The output should be visible at all levels otherwise people (like me) will assume the build process has hung.
Comment 7 dean.ellis 2016-04-11 14:46:32 UTC
We use the standard MSBuild logging API and use "Normal" for these logging messages. We can change that to "High" so it appears in Normal logging and not only in detailed. However it still will not appear in the Quiet output since the definition of "Quiet" [1] is that MSbuild will only display the build summary, all other message levels are ignored.

Can you try with the "Normal" build logging level and see if it appears.

[1] https://msdn.microsoft.com/en-us/library/microsoft.build.framework.loggerverbosity.aspx
Comment 8 Jeremy Kolb 2016-06-08 15:50:29 UTC
I'm still not seeing anything on "Normal".