未找到与命令“dotnet-ef”匹配的可执行文件
2018-04-17 18:20
253 查看
未找到与命令“dotnet-ef”匹配的可执行文件
Specific to VS2017 15.3 or greater and ASP.NET CORE 2.0 or later...
Install nuget for db provider via command line or nuget package manager.
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
Add following section to .csproj
<ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" /> </ItemGroup>
Install design time tools via commandline or nuget manager in VS2017.
dotnet add package Microsoft.EntityFrameworkCore.Design
This enables dotnet ef * at the command line in the project directory.
Enables dotnet ef * commands at the command line in the project directory,
dotnet ef migrations add Initial dotnet ef database update Initial dotnet ef dbcontext scaffold
相关文章推荐
- find命令进阶(二):对找到的文件执行操作exec
- sudo cd提示命令无法找到或无任何提示却不执行的情况
- python paramiko实现多线程远程执行命令、多线程远程上传文件、多线程远程下载文件
- Linux 查看 elf可执行文件格式的两个命令
- LDD命令--可执行文件依赖的库出现错误时
- VS2008 未找到编译器可执行文件 csc.exe【当网上其他方法试玩了之后不起作用的时候再用这个方法】
- 制作可执行的JAR文件包及jar命令详解
- 用dos命令执行jar文件
- Java如何调用可执行文件和批处理命令
- PHPMailer命令执行及任意文件读取漏洞
- 一起学Shell之(六)输入、输出、文件与命令执行 推荐
- [转帖]调用explore打开指定文件所在的文件夹,并把目标文件设为选定状态,甚至.lnk文件也能自动找到它的目标执行程序文件。
- MySQL命令执行sql文件的两种方法
- SUSE下用输入重定向执行文件中的mysql命令
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法
- ONOS如何在执行命令时找到对于有的实现类
- android开发之执行命令,文件操作(linux)
- 十七周四次课(11月30日) 20.31 expect脚本同步文件 20.32 expect脚本指定host和要同步的文件 20.33 构建文件分发系统 20.34 批量远程执行命令
- linux服务器配置域名ssh 互信和for循环执行命令(软件的安装和文件的拷贝,删除)
- 利用ubuntu将.cpp生成二进制的可执行文件,然后利用.bat(脚本)编写命令,将可执行文件在android机上运行