0

「Entity Framework Power Tools Beta 2」がインストールされており、単純にデータベース スキーマを逆マップしたいと考えています。ソリューション エクスプローラーでプロジェクトを右クリックし、[Entity Framework] -> [Reverse Engineer Code First] をクリックして接続プロパティを指定すると、出力ウィンドウに次のエラーが表示されます。何が間違っている可能性がありますか?

System.MissingMethodException: Method not found: 'System.Xml.XmlReader System.Data.Common.DbProviderServices.GetConceptualSchemaDescription()'.
    at System.Data.Entity.Design.EntityStoreSchemaGenerator.GetProviderSchemaMetadataWorkspace(DbProviderServices providerServices, DbConnection providerConnection)
    at System.Data.Entity.Design.EntityStoreSchemaGenerator.CreateStoreSchemaConnection(String providerInvariantName, String connectionString)
    at System.Data.Entity.Design.EntityStoreSchemaGenerator..ctor(String providerInvariantName, String connectionString, String namespaceName)
    at Microsoft.DbContextPackage.Handlers.ReverseEngineerCodeFirstHandler.ReverseEngineerCodeFirst(Project project)
4

1 に答える 1

0

Entity Framework June 2011 CTP がボックスにインストールされているようです。アンインストールする必要があります。詳細はこちら: http://blog.3d-logic.com/2012/04/11/entity-framework-zombie-aka-microsoft-entity-framework-june-2011-ctp/

于 2012-05-03T18:15:36.033 に答える