Method not found: 'Boolean System.Data.Entity.Core.Common.DbProviderManifest.SupportsParameterOptimizationInSchemaQueries()'
See original GitHub issueHi,
I’ve recently updated Visual Studio to version 15.7.1
Now, when trying to update model like this , after clicking “Finish” I get this
The output window has the following:
Unable to generate the model because of the following exception: ‘System.MissingMethodException: Method not found: ‘Boolean System.Data.Entity.Core.Common.DbProviderManifest.SupportsParameterOptimizationInSchemaQueries()’.
at Microsoft.Data.Entity.Design.VersioningFacade.ReverseEngineerDb.SchemaDiscovery.EntityStoreSchemaGeneratorDatabaseSchemaLoader.CreateFilteredCommand(String sql, String orderByClause, EntityStoreSchemaFilterObjectTypes queryTypes, List1 filters, String[] filterAliases) at Microsoft.Data.Entity.Design.VersioningFacade.ReverseEngineerDb.SchemaDiscovery.EntityStoreSchemaGeneratorDatabaseSchemaLoader.LoadDataTable[T](String sql, Func
2 orderByFunc, DataTable table, EntityStoreSchemaFilterObjectTypes queryTypes, IEnumerable1 filters, String[] filterAliases) at Microsoft.Data.Entity.Design.VersioningFacade.ReverseEngineerDb.SchemaDiscovery.EntityStoreSchemaGeneratorDatabaseSchemaLoader.LoadTableDetails(IEnumerable
1 filters)
at Microsoft.Data.Entity.Design.VersioningFacade.ReverseEngineerDb.SchemaDiscovery.EntityStoreSchemaGeneratorDatabaseSchemaLoader.LoadStoreSchemaDetails(IList1 filters) at Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine.ModelGenerator.GetStoreSchemaDetails(StoreSchemaConnectionFactory connectionFactory) at Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine.ModelGenerator.CreateStoreModel() at Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine.ModelGenerator.GenerateModel(List
1 errors)
at Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine.ModelBuilderEngine.GenerateModels(String storeModelNamespace, ModelBuilderSettings settings, List`1 errors)
at Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine.ModelBuilderEngine.GenerateModel(ModelBuilderSettings settings, IVsUtils vsUtils, ModelBuilderEngineHostContext hostContext)’.
In this project:
- Windows 10 version 1803
- The EntityFramework version is 6.2.0
- The .Net version is 4.7.1
What I’ve tried:
- Clean
- Rebuild
- Reinstall EntityFramework (with removing leftover DLLs from the project)
- Change .Net version to earlier and back
Any help would be appreciated.
Thank you in advance.
Issue Analytics
- State:
- Created 5 years ago
- Comments:19 (9 by maintainers)
Edit: Problem solved!
I deleted the folders:
Close VS before doing this.
Hi, same problem here! Updated yesterday from 15.7.0 to 15.7.3 and now i get the same error… 😦 This is very annoying because i have urgent development work to do!
OS: Windows 10 Version under C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE is 6.1.3 ??!!
I have this in the GAC too… and i’m unable to uninstall…
Has anybody a solution to this problem? Thanks!
@divega , Hi, Thank you so much!!! gacutil /u EntityFramework worked like a charm. I don’t know how it got to the GAC if it shouldn’t be there at first place and if there’s a program that installed it and it will seize working - so be it. On this machine I only care about being able to use Visual Studio… 😃