EF6 'ModelConfiguration' set but not discovered

According to documentation on Entity Framework, configuration is defined globally on application level and then propagates to every loaded assembly: http://go.microsoft.com/fwlink/?LinkId=260883

If you have several assemblies with separate configurations defined in each of them, then only configuration from the first loaded assembly will be used globally. All other configurations will be ignored and substituted with a global reference to the first loaded configuration. It then propagates to every other loaded assembly.

If you have several DBCotntext classes in different assemblies, they must not define local configurations per assembly. Instead, calling application should define own configuration and set it for all of them as follows:

  public class MyConfiguration : DbConfiguration
  {
    public ReporsitoryConfiguration()
    {
      // your code here
    }
  }

and then:

DbConfiguration.SetConfiguration(new MyConfiguration());