Visual Studio 2015 Xamarin.Inspector fails to load

Following an update to Xamarin in Visual Studio 2015 Pro, the inspector fails to load for a particular project. The message displayed in the Xamarin output pane in Visual Studio is "[Inspector] Error preparing project for inspection." The FROM and TO sections below show the previous(FROM) Xamarin installs and updated Xamarin(TO) installs. Also, the log showing a more detail error is at the bottom of the post. How do I go about resolving this issue?

FROM
Mac Software
Visual Studio Preview for Mac 7.1.0.1287
Mono Framework 5.2.0.215
Xamarin.iOS 10.12.0.18
Xamarin.Android 7.4.0.19
Xamarin.Mac 3.6.0.17
Xamarin Profiler 1.5.5.10
Xamarin Workbooks and inspector 1.3.0
Windows Software
Xamarin for Visual Studio 2015 4.6.0.297
Xamarin.iOS 10.12.0.14
Xamarin.Android 7.4.0.19

TO
Mac
Visual Studio Preview for Mac 7.2.0.634
Mono Framework 5.4.0.201
Xamarin.iOS 11.2.0.8
Xamarin.Android 8.0.0.3
Xamarin.Mac 3.8.0.49
Xamarin Profiler 1.5.6
Xamarin Workbooks and inspector 1.3.2
Windows
Xamarin for Visual Studio 2015 4.7.10.22
Xamarin.iOS 11.2.0.8
Xamarin.Android 8.0.0.33

**Error Message: **
Xamarin.Inspector|Information|0|Inspector extension loaded
Xamarin.Inspector|Error|0|[Inspector] Error preparing project for inspection
System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at EnvDTE.Properties.Item(Object index)
at Xamarin.VisualStudio.Inspector.VSAgentExecutionTarget..ctor(Project proj) in C:\d\lanes\5156\fe36becf\source\xamarinvs\src\Features\VisualStudio.Inspector\Vsix\VSAgentExecutionTarget.cs:line 49
at Xamarin.VisualStudio.Inspector.VSInspectorSession.CreateAgentExecutionTarget() in C:\d\lanes\5156\fe36becf\source\xamarinvs\src\Features\VisualStudio.Inspector\Vsix\VSInspectorSession.cs:line 112
at Xamarin.Interactive.IdeSupport.InspectorSession.Prepare() in C:\d\lanes\5156\fe36becf\source\xamarinvs\External\inspector-ide-integration\Xamarin.Interactive.IdeSupport\InspectorSession.cs:line 97
at Xamarin.VisualStudio.Inspector.XamarinInspectorPackage.RefreshInspectorSession() in C:\d\lanes\5156\fe36becf\source\xamarinvs\src\Features\VisualStudio.Inspector\Vsix\XamarinInspectorPackage.cs:line 204
Xamarin.VisualStudio.ProjectFixerRunner|Information|0|Solution loaded: 'RfidInventory'

Posts

Sign In or Register to comment.