Bug 56099 - [VS][Inspector] Extensions doesn't work with VS2017
Summary: [VS][Inspector] Extensions doesn't work with VS2017
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Inspector Integration ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: xamarininteractive
Depends on:
Reported: 2017-05-08 14:10 UTC by Miha Markic
Modified: 2017-09-08 17:36 UTC (History)
2 users (show)

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

csproj (3.73 KB, text/plain)
2017-05-08 15:57 UTC, Miha Markic

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 Miha Markic 2017-05-08 14:10:42 UTC
VS2017 and no Inspector button is available.
App targets min Android 6.0 running in VS emulator for Android.

Log says this:
Inspector extension loaded
InspectorDebugSession(0): StateChange: Start -> EntryPointBreakpointRegistered
InspectorDebugSession(0): Constructed
InspectorDebugSession(0): HandleTargetEvent: TargetReady
InspectorDebugSession(0): HandleTargetEvent: TargetHitBreakpoint
InspectorDebugSession(0): StateChange: EntryPointBreakpointRegistered -> EntryPointBreakpointHit
InspectorDebugSession(0): AgentBridge.InjectAssembly: /data/data/ch.globus.compagnon.demo/cache/Xamarin.Interactive.dll
InspectorDebugSession(0): AgentBridge.InjectAssembly: Mono.Debugger.Soft.InvocationException: Exception of type 'Mono.Debugger.Soft.InvocationException' was thrown.
   at Mono.Debugger.Soft.ObjectMirror.EndInvokeMethodInternalWithResult(IAsyncResult asyncResult)
   at Xamarin.Interactive.IdeSupport.AgentBridge.InjectAssembly(String agentAssemblyPath) in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\External\inspector-ide-integration\Xamarin.Interactive.IdeSupport\AgentBridge.cs:line 55
   at Xamarin.Interactive.IdeSupport.InspectorDebuggerSession.<HandleTargetEvent>b__26_0(Object <p0>) in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\External\inspector-ide-integration\Xamarin.Interactive.IdeSupport\InspectorDebuggerSession.cs:line 234
InspectorDebugSession(0): StateChange: EntryPointBreakpointHit -> Error
InspectorDebugSession(0): Disposed
Comment 1 Sandy Armstrong [MSFT] 2017-05-08 14:19:13 UTC
Can you attach your Android csproj?
Comment 2 Miha Markic 2017-05-08 15:57:42 UTC
Created attachment 22006 [details]
Comment 3 Miha Markic 2017-05-08 15:59:28 UTC
It is plain vanilla csproj out from new Android Single View Application.
Comment 4 Sandy Armstrong [MSFT] 2017-05-08 16:01:27 UTC
What version of Xamarin.Android do you have installed?
Comment 5 Miha Markic 2017-05-08 16:05:15 UTC
Asking like I have a choice :-)
VS2017 -> No choice.

Here is info from about:

Microsoft Visual Studio Enterprise 2017 
Version 15.1 (26403.7) Release
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools   00369-90200-01701-AA812
Microsoft Architecture Diagrams and Analysis Tools

Visual Basic 2017   00369-90200-01701-AA812
Microsoft Visual Basic 2017

Visual C# 2017   00369-90200-01701-AA812
Microsoft Visual C# 2017

Visual C++ 2017   00369-90200-01701-AA812
Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package   8.6.00209.10
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30320.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

CodeRush for Roslyn
DevExpress CodeRush for Roslyn package.

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

CreateLayoutWizard   1.0
Create layout wizard.

DevExpress.DeploymentTool   1.0
A useful tool for deploying DevExpress assemblies.

DevExpress.Win.LayoutAssistant Extension   1.0
DevExpress.Win.LayoutAssistant Visual Studio Extension Detailed Info

A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

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

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Markdown Editor   1.11.201
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.

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

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.

Multilingual App Toolkit   4.0
Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration. http://aka.ms/matinstall

NDepend.Package 2017.2.1   Build 2017.2.1.8955
NDepend 2017.2.1 package for Microsoft Visual Studio. For more information about NDepend, visit http://www.ndepend.com. Copyright © 2004–2017 ZEN PROGRAM LTD

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

Project File Tools   1.0.1
Provides Intellisense and other tooling for XML based project files such as .csproj and .vbproj files.

SQL Server Data Tools   15.1.61702.140
Microsoft SQL Server Data Tools

Syntax Visualizer   1.0
An extension for visualizing Roslyn SyntaxTrees.

TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   15.0.26403.07
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.

WiX Toolset Visual Studio Extension
WiX Toolset Visual Studio Extension version
Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK (b16fb82)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK (7656cc6)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

XtraReports package   1.0
XtraReports package
Comment 6 Sandy Armstrong [MSFT] 2017-05-09 18:27:48 UTC
This may be fixed in 15.2.

What version of Android is your emulator running?
Comment 7 Miha Markic 2017-05-09 19:58:56 UTC
Comment 8 Sandy Armstrong [MSFT] 2017-09-08 17:06:47 UTC
Do you still gets this in VS 15.3?
Comment 9 Miha Markic 2017-09-08 17:36:19 UTC
It's there in 15.3.