Bug 40062 - XamPrepTool hangs indefinitely when upgrading to VS2015 Update 2
Summary: XamPrepTool hangs indefinitely when upgrading to VS2015 Update 2
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- critical
Target Milestone: ---
Assignee: vga
Depends on:
Reported: 2016-04-01 21:48 UTC by Kyle White
Modified: 2016-12-15 17:58 UTC (History)
6 users (show)

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 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:

Description Kyle White 2016-04-01 21:48:29 UTC
Steps to reproduce:
1) Install VS2015 RTM (v14.0.23107)
2) Install XVS C6SR1 (v4.0.1.96)
3) Upgrade VS2015 to Update 2, also choose to upgrade XVS to latest stable (XVS

Actual result:
Installer hangs when running Xamarin Preparation Tool ... been hanging for almost 2 hours now

Expected result:
XamPrepTool runs, and Install finishes successfully 

Not sure exactly what the logs are that will be helpful. I have zipped and attached all the logs in my %temp% path with a 'Date Modified' after I started the upgrade.
Comment 1 Kyle White 2016-04-01 21:50:31 UTC
The log files zip was too big to attach, here is a dropbox link https://www.dropbox.com/s/pnaowuex3r7oz8t/TempLogs.zip?dl=0
Comment 21 Stefano 2016-06-01 14:21:19 UTC
Me too.
While installing VS 2015 with Update 2 i get a dialog box with a message similar to this:
Xamarin preparation tool
Unable to run while setup in progress

What has been wrong ?
Comment 22 Ben Beckley 2016-06-01 16:00:21 UTC
Hello Stefano,

Did you have a previous version of Xamarin for Visual Studio installed before updating to VS 2015 with Update 2? If so, could you please let us know what version that was?
Comment 23 Stefano 2016-06-02 10:56:59 UTC
I had i my PC the VS update 2 with Xamarin 4.0.2.
I have re-run the VS setup it found some update (Xamarin 4.0.4) and this cause the error.
Comment 24 vga 2016-12-15 17:58:51 UTC
@Stefano, the message you describe in Comment 21 is expected under some circumstances. You can dismiss the dialog box and installation will continue normally.

There is nothing that may have wrong because of this message, nothing to worry about it.

This message will appear only when upgrading from older versions of Xamarin, so you shouldn't see it anymore as you upgrade from newer versions.