I get this exception from any of the commands in this extension:
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{FFB2E715-7312-4B93-83D7-D37BCC561C90}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.DbContextPackage.Extensions.ProjectExtensions.GetProjectTypes(Project project)
at Microsoft.DbContextPackage.Extensions.ProjectExtensions.IsWebProject(Project project)
at Microsoft.DbContextPackage.DbContextPackage.GetUserConfig(Project project, String assemblyFullName)
at Microsoft.DbContextPackage.DbContextPackage.DiscoverUserContextType(Type& systemContextType)
Microsoft Visual Studio Enterprise 2019
Version 16.7.1
I get this exception from any of the commands in this extension: System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{FFB2E715-7312-4B93-83D7-D37BCC561C90}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Microsoft.DbContextPackage.Extensions.ProjectExtensions.GetProjectTypes(Project project) at Microsoft.DbContextPackage.Extensions.ProjectExtensions.IsWebProject(Project project) at Microsoft.DbContextPackage.DbContextPackage.GetUserConfig(Project project, String assemblyFullName) at Microsoft.DbContextPackage.DbContextPackage.DiscoverUserContextType(Type& systemContextType)
Microsoft Visual Studio Enterprise 2019 Version 16.7.1