3 Comments

  1. hlattanzio

    Thank you for putting this all together.

    I’ve followed your configurations in order to update the build to generate the migrations script. The csproj file contains and I can see that it is restored as part of the Restore step of the build, however, when the command line task runs in order to run the dotnet ef command, I continue to get this error:

    No executable found matching command “dotnet-ef”

    Any suggestions of what else could be missing?

    • hlattanzio

      Ok, I’ve answered my own question, however, it might be worth noting in your article.

      The project I needed to run the migrations in was a sub-directory, so I had to modify the Working Folder in the Advanced section of the Command line step, such that I wasn’t at the root of $(Build.SourcesDirectory).

      Thanks

Leave a Reply to hlattanzio Cancel reply

Your email address will not be published. Required fields are marked *