Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 23160 [details]
Screenshot of Visual Studio Performance dialog showing 445s extra load time
Xamarin for Visual Studio v126.96.36.1990 [Experimental]
Visual Studio 2017 15.3.0 Preview 3
Opening Visual Studio is quick, but as soon as I try to load a Xamarin project it takes over 7 minutes to load (about 460 seconds +/- 20s). This was fine when using VS 15.3 Preview 2 and Xamarin for VS v188.8.131.52, but updating to the latest preview today (to get the Xamarin Live Player) broke it.
Loading does not tax the CPU or disk much, it simply sits on the "Preparing Solution..." dialog the entire time. Closing the solution (not VS) and opening it again does not take long.
More info: possibly related to corruption in a specific project. I forced VS to exit during one of the long waits then reopened Visual Studio. It repaired the solution and it no longer takes as long.
Closing as not reproducible because it seems like a quirk with my solution.
Reopening - this issue reappeared after a reboot.
Attaching VS Logs, there is a huge delay prior to the XamarinAndroidPackage load - this time nearly 12 minutes(!!):
<description>End package load [CSharpPackage]</description>
<description>End package load [XamarinAndroidPackage]</description>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
Created attachment 23164 [details]
ActivityLog from VS startup
Activity Log from VS startup (devenv.exe /log)
Shows almost > 11 minutes delay before loading XamarinAndroidPackage. The entire time VS was sitting on "Preparing Solution..."
Is this issue only happening with a specific solution or does it happen with any Android project? You could also try to open the Android Tool Options Page (Tools -> Options -> Xamarin -> Android) which triggers the loading of the Android package and and check if that action also takes so long.
Another thing you could try is to delete the hidden .vs folder of the solution and see if that makes any difference.
I will try to reproduce the issue and will keep you posted.
Sorry for inconvenience and thanks,
Setting target milestone to 15.4, as the issue is reported for the Player preview build, and not for the regular releases.
I've been trying without success to reproduce this on another similar machine but can't. The original install had some other issues related to Windows which could not be resolved without a Windows Repair, and now the issue can't be reproduced there either.
Closing again as not reproducible, sorry.
Thanks Paul, we could not reproduce the issue so far either. We will reopen the bug if we find something wrong on our side. Adrian