FS#59263 - [dotnet-sdk] `dotnet ef` not working starting from 2.1.1+301
Attached to Project:
Community Packages
Opened by Yunhao Tian (t123yh) - Sunday, 08 July 2018, 02:42 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 14 November 2018, 12:34 GMT
Opened by Yunhao Tian (t123yh) - Sunday, 08 July 2018, 02:42 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 14 November 2018, 12:34 GMT
|
Details
Description:
The `dotnet ef` command seems to be unusable starting from this version. This command should be built into .NET Core CLI starting from 2.1.300 (https://github.com/aspnet/Announcements/issues/290), however, it doesn't seem to be there: https://github.com/aspnet/DotNetTools/issues/399#issuecomment-403196026 Steps to reproduce: Run `dotnet ef` directly from commandline. You will see ``` Cannot find command 'dotnet ef', please run the following command to install dotnet tool install --global dotnet-ef ``` But dotnet-ef should work out-of-box, without any tool installation. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Wednesday, 14 November 2018, 12:34 GMT
Reason for closing: Fixed
Additional comments about closing: 2.1.6+500
Wednesday, 14 November 2018, 12:34 GMT
Reason for closing: Fixed
Additional comments about closing: 2.1.6+500
Edit:
To anyone looking for a workaround I've uninstall all dotnet -runtimes, -sdk, and -host with pacman and manually installed the binaries into my home directory and added the path to my .profile and everything works as expected.