Bug 37032 - VS.Android hangs out infinitely when build fails due to missing reference
Summary: VS.Android hangs out infinitely when build fails due to missing reference
Status: RESOLVED NORESPONSE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-15 17:51 UTC by Przemysław Raciborski
Modified: 2016-12-23 00:06 UTC (History)
5 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 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 NORESPONSE

Description Przemysław Raciborski 2015-12-15 17:51:26 UTC
If Android project fails to build due to missing reference (ex. dll is deleted or moved) then Visual Studio hangs out infinitely (even after VS restart).

The workaround for bug is "obj" folder cleanup and VS restart.
Comment 1 Udham Singh 2016-01-13 12:59:11 UTC
I have tried this issue and I unable to reproduce this issue.

I have followed these steps:

1. Create an android class library project.
2. Add a class.
3. Add some method to the class.
4. Build the solution.
5. Move the dll of this project to some other location.
6. Create an android app project.
7. Add reference of dll file to this project.
8. Now delete the dll from that location.
9. Build the android project.
10. VS do not hangs insted of that it dispaly an error "the type or namespace could not be found(missing the reference)".

Could you please provide some steps so that I can reproduce this issue at my end.It would be great if you also provide
me IDE logs,build output, Environment info.

You can get IDE logs and Environment info as follows:

IDE logs  : VS>help>Xamarin>open logs.
Environment Info : Vs>help>About microsoft visual studio>copy info.

Environment Info :

Microsoft Visual Studio Enterprise 2015
Version 14.0.24720.0 D14REL
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA709
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-80000-00000-AA709
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA709
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA709
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

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

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

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

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

Xamarin   4.0.1.69 (21aad62)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.1.5 (50280e4)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.4.1.20 (122b860)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Jose Gallardo 2016-12-23 00:05:56 UTC
Resolving as No Response.
If you're still facing this issue with current bits, please feel free to reopen the bug and provide the requested information.
Thanks