現在、EF コードの最初のコンテキストで次のエラーが発生しています。
Unhandled Exception: System.Data.MetadataException: Schema specified is not valid. Errors:
The mapping of CLR type to EDM type is ambiguous because multiple CLR types match the EDM type 'Offer'. Previously found CLR type 'CakeExtracter.CakeMarketingApi.Entities.Offer', newly found CLR type 'Cake
Extracter.Data.CakeTraffic.Offer'.
at System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, Boolean loadReferencedAssemblies, EdmItemCollection edmItemCollection
, Action`1 logLoadMessage)
at System.Data.Metadata.Edm.MetadataWorkspace.LoadFromAssembly(Assembly assembly, Action`1 logLoadMessage)
at System.Data.Entity.Infrastructure.DbCompiledModel.CreateObjectContext[TContext](DbConnection existingConnection)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
2 つのコンテキストが異なるアセンブリに存在するように、別のプロジェクトを作成する以外にこれを解決する方法はありますか?