Build failing on "Publishing Internal Artifacts" because of Entity Framework Code Migrations

I have a build configuration that works OK until the last step:

[12:42:08]Publishing internal artifacts
[12:42:08][Publishing internal artifacts] Sending using WebPublisher
[12:42:08][Publishing internal artifacts] Sending using ArtifactsCachePublisher
[12:42:08]Build failure condition: There was an error reported in one of the build steps.
[12:42:08]Build failure condition cause message: ERROR: More than one migrations configuration type was found in the assembly 'XXXXXX'. Specify the name of the one to use. (show original message)
[12:42:08]Build finished


Nothing should be trying to run EF code migrations so I don't know why the publish step would give this error.

Please sign in to leave a comment.