Bug 60312 - Visual Stdio 2015 Freezes When Loading Xamarin iOS Project
Summary: Visual Stdio 2015 Freezes When Loading Xamarin iOS Project
Status: NEEDINFO
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS (show other bugs)
Version: 4.7.0 (15.4)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-10-22 18:46 UTC by Jorge
Modified: 2017-10-23 16:26 UTC (History)
4 users (show)

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


Attachments
Log detailing load error (1.48 KB, application/octet-stream)
2017-10-22 18:46 UTC, Jorge
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 60312 on Developer Community 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
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:
Status:
NEEDINFO

Description Jorge 2017-10-22 18:46:55 UTC
Created attachment 25395 [details]
Log detailing load error

I encountered the following problem while attempting to setup the dev environment for https://github.com/HTBox/MobileKidsIdApp

The project requires me to download and install Visual Studio 2015 and Xamarin on Windows 10. Having downloaded and installed Visual Studio 2015 Community Edition (Update 3), I updated the included Xamarin tools to the following versions:
 
Xamarin 4.7.10.22
Xamarin.Android 8.0.0.33
Xamarin.iOS 11.2.0.8

After doing so, Visual Studio 2015 freezes when opening the solution file for the project. Specifically, I can see that VS freezes when loading the iOS project (the Android project is able to load). I checked the Xamarin error log and found the following entry:

Xamarin.VisualStudio.IOS.XamarinIOSPackage|Warning|0|Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.
Xamarin.VisualStudio.MsBuild.ProjectBuildTracker|Error|0|Cannot start build tracking. Project is null.

After googling the problem, I found some users reporting that deleting the bin/obj folders and .vs folder fixed the issue for them. I did so, but Visual Studio still hangs for me. I found another bug on this site that sounds similar to my problem, but it concerns loading Android projects (https://bugzilla.xamarin.com/show_bug.cgi?id=60080). Please let me know of any additional details and files I can attach/provide.
Comment 1 Jimmy [MSFT] 2017-10-23 16:26:56 UTC
As you mentioned, bug 60080 is related to Android projects, but we have also found another issue that causes VS to hang when loading iOS projects. 

In order for us to confirm whether you are experiencing this same issue or a new one, can you provide the dmp file gathered by following the guide below? Thanks!

https://developer.xamarin.com/guides/cross-platform/windows/visual-studio/troubleshooting/vs-callstack/