rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

migration command verify installation of dotnet-ef global tool #64

Open wintondeshong opened 4 years ago

wintondeshong commented 4 years ago

Problem Recently upgraded a project to the latest dotnet SDK version. In doing so I no longer had a valid version of dotnet-ef. When running the and-cli migration command, while it does what is expected and outputs possible issues, the and-cli could reconcile it for the user.

Possible reasons for this include:

Solution When the migration command is run, do an initial check to see if the global dotnet-ef tool is installed. If not, automatically run the install...

dotnet tool install -g dotnet-ef

brandongregoryscott commented 4 years ago

I've run into this recently as well, good catch!