EF power tools for generating diagrams?


EF power tools use to be best tool to generate interactive models from the code first DB context.

  1. I tried on .Net 4.7.1 console project. with EF 6.2
  2. Fails with following error, what could potentially be tried?

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)

asked on Stack Overflow Dec 4, 2018 by Abhijeet • edited Dec 8, 2018 by Abhijeet

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0