Visual Studio 2017 (v15.9.14) says "Deploy failed" when attempting to debug sample Xamarin.Forms app

0

I'm trying to deploy the example app in this tutorial:

https://docs.microsoft.com/en-us/xamarin/get-started/first-app/?pivots=win-vs2017

However, I'm unable to get the debugger to work for it. I followed all the steps precisely but nothing seems to work.

Here's the log output:

Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished Xamarin|Information|0|Xamarin - 4.12.3.83-d15-9+23fa80172 Xamarin.VisualStudio.Shell.BuildProjectSettings|Information|0|Settings successfully saved. Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished Xamarin.VisualStudio.Android.XamarinAndroidPackage|Warning|0|Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished Xamarin.VisualStudio.IOS.XamarinIOSPackage|Warning|0|Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage. Xamarin.Inspector|Information|0|Inspector extension loaded Xamarin.VisualStudio.TastyFlavoredProject|Error|0|System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.CreateDeployCommand(IProgressReport progress) in E:\A_work\1824\s\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 672 at Xamarin.VisualStudio.TastyFlavoredProject.StartDeploy(IProgressReport progress, CancellationToken cancellationToken) in E:\A_work\1824\s\src\Core\VisualStudio\FlavorProject\TastyFlavoredProject.cs:line 532 Xamarin.VisualStudio.TastyFlavoredProject|Error|0|Project is not deployable. Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\dev\repos\BirdieApp\src\BirdieMobileApp\BirdieMobileApp.Android\BirdieMobileApp.Android.csproj' System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233 at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33 Xamarin.VisualStudio.TastyFlavoredProject|Error|0|System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.CreateDeployCommand(IProgressReport progress) in E:\A_work\1824\s\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 672 at Xamarin.VisualStudio.TastyFlavoredProject.StartDeploy(IProgressReport progress, CancellationToken cancellationToken) in E:\A_work\1824\s\src\Core\VisualStudio\FlavorProject\TastyFlavoredProject.cs:line 532 Xamarin.VisualStudio.TastyFlavoredProject|Error|0|Project is not deployable. Xamarin.VisualStudio.TastyFlavoredProject|Error|0|System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.CreateDeployCommand(IProgressReport progress) in E:\A_work\1824\s\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 672 at Xamarin.VisualStudio.TastyFlavoredProject.StartDeploy(IProgressReport progress, CancellationToken cancellationToken) in E:\A_work\1824\s\src\Core\VisualStudio\FlavorProject\TastyFlavoredProject.cs:line 532 Xamarin.VisualStudio.TastyFlavoredProject|Error|0|Project is not deployable.

I'm seeing a lot of "No such interface supported" errors but I don't know what they mean. Any ideas?

c#
android
visual-studio
xamarin
xamarin.forms
asked on Stack Overflow Jul 27, 2019 by Kris Craig

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0