“2018年4月”存档文章有31 篇
asp.net core 缺少对UseMySQL的引用
2018/4/18 14:49:30
最近在使用asp.net core的时候,数据库采用MySQL,出现了缺少对UseMySQL的引用。具体代码如下:Startup.csusing System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Build...
E514: write error (file system full?)
2018/4/14 22:19:07
最近再用vim编辑文件的时候,出现如下提示:E514: write error (file system full?)出现这个提示的原因是:磁盘写满了。解决方案:使用如下命令查询:df -h出现如下结果:tmpfs 49M 5.5M 43M 100% /run清理一下就好了。
解决github Permission denied (publickey)问题
2018/4/13 11:21:18
最近在使用github提交的时候报如下错误:> git show :SMS_ReciveDAL/SMS_ReciveContext.csgit@github.com: Permission denied (publickey).fatal: Could not read from remote repository.出现以上错误的原因是:SSH keys没有设置或者过期了,SSH keys 可以在...
无法解析包“Microsoft.EntityFrameworkCore.Tools.DotNet”的版本
2018/4/12 9:41:16
最近在使用Visual Studion Code的时候,报如下错误:未找到与命令“dotnet-ef”匹配的可执行文件之后参照了未找到与命令“dotnet-ef”匹配的可执行文件这篇文章之后,还是报错,报错内容如下:无法解析包“Microsoft.EntityFrameworkCore.Tools.DotNet”的版本应该是包的版本有问题,但是现在也不知道用那个版本可以,之后又参考了这篇文章:En...
How to Add Multiple Projects in Visual Studio Code
2018/4/11 14:50:50
Adding multiple projects in Visual Studio Code is a breeze. Not many people are aware that VS Code supports multiple projects.在Visual Studio Code 中添加多个项目是一件轻而易举的事情。没有多少人知道VS Code支持多个项目。Visual Studio C...
Updates were rejected because the remote contains work that you do
2018/4/11 13:59:22
最近在提交代码的时候,报如下错误:Admin@Administrator MINGW64 /d/htdocs/work.local.com/www-local-com (develop) $ git merge lernado Updating 764de39..7717317 Fast-forward controllers/ListsController.php | 1 - 1 ...