Bug 58458 - VS 2017 Hangs when open Xamarin Forms solution
Summary: VS 2017 Hangs when open Xamarin Forms solution
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: 4.5.0 (15.2)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-07-28 13:19 UTC by Brian Macomber
Modified: 2017-08-18 18:56 UTC (History)
6 users (show)

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


Attachments
Logs (4.26 KB, application/x-zip-compressed)
2017-07-28 13:39 UTC, Brian Macomber
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 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:
Status:
RESOLVED ANSWERED

Description Brian Macomber 2017-07-28 13:19:30 UTC
Not sure when it hangs, but it only happens you launch from a solution shortcut, like the quick links when right clicking on the VS icon in the task bar.  If you open VS first and then the forms solution it opens correctly.

This does not happen with other solutions, only forms.

Microsoft Visual Studio Enterprise 2017 
Version 15.2 (26430.16) Release
VisualStudio.15.Release/15.2.0+26430.16
Microsoft .NET Framework
Version 4.7.02523

Installed Version: Enterprise

Visual Basic 2017   00369-60000-00001-AA425
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA425
Microsoft Visual C# 2017

Visual C++ 2017   00369-60000-00001-AA425
Microsoft Visual C++ 2017

Visual F# 4.1   00369-60000-00001-AA425
Microsoft Visual F# 4.1

ActiveReports 11   11.1.9726.0
The first report writer for Microsoft .NET

Application Insights Tools for Visual Studio Package   8.6.00404.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30503.0
ASP.NET and Web Tools 2017

ASP.NET Web Frameworks and Tools 2017   5.2.50303.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.30209.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Common Azure Tools   1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

JetBrains ReSharper Ultimate 2017.1.3    Build 108.0.20170613.154143
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Hive Query Language Service   2.2.5000.0
Language service for Hive query

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   4.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   15.1.61702.140
Microsoft SQL Server Data Tools

TargetFrameworkMigrator   1.0
Bulk Change .Net Projects Target Frameworks

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   2.2.2.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   15.0.26430.06
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.5.0.486 (fec6f88)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.3.1.2 (9dbc4c5)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.10.0.37 (ad35de4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 1 Pierce Boggan [MSFT] 2017-07-28 13:38:06 UTC
Hey @Brian! Thanks so much for taking the time to submit this report. Could you please attach a reproduction project and your IDE logs (found by going to Help -> Xamarin -> Zip Logs)?

I'm unable to reproduce this issue using the latest Visual Studio 2017 15.3 preview builds.
Comment 2 Brian Macomber 2017-07-28 13:39:54 UTC
Created attachment 23883 [details]
Logs
Comment 3 Brian Macomber 2017-07-28 13:42:27 UTC
Logs attached, I'll see if a simple project causes the issue.  This did just show up with one of the last updates to VS, it previously did not cause a problem.

The same project causes an issue on both of my dev machines.  I would be fine providing you the actual production product causing the issue if there is a private way I could share it.
Comment 4 Prashant [MSFT] 2017-08-01 08:26:31 UTC
@brian

Are you able to reproduce this with a small/new project? If you still stuck, I have emailed you the link to upload the project
Comment 5 Brian Macomber 2017-08-01 13:37:26 UTC
A small project seemed to be ok.  I think it may be an startup issue with Resharper, though I thought I had tried this in the past, I disabled Resharper and the project opened fine.  And it was fine enabling resharper after start up.  I wonder if there is deadlock or something happening between the two.

I'm uploading the solution that is causing the issue.  It doesn't have everything needed to compile, but it probably would cause the same deadlock issue with Resharper.  I'll keep playing on my end also.  It's not a major deal, it works as you as you don't start VS from the .sln file, just open VS first, then open the project.

Thanks!
Comment 6 Pierce Boggan [MSFT] 2017-08-01 15:16:14 UTC
Awesome! If you hit this issue again, please go to Help -> Report a Problem within Visual Studio, and it will automatically upload some diagnostic reports about what went wrong, which is super helpful for debugging crashes.

Based on the information provided, this seems to be an issue with ReSharper and I would recommend raising it with the JetBrains team.

Thanks again for reporting this issue! :)
Comment 8 Brian Macomber 2017-08-18 18:56:06 UTC
FYI, this issue resolved for me today with a VS update to 15.3.1