title: "netcore命令行汇总"
layout: post
date: 2017-09-18 13:22:00"
categories: netcore
---web
使用命令行进行新建项目,编译,newget包的还原等npm
显示全部命令 ctrl+shift+p
转到文件 ctrl+p
在文件中查找 ctrl+shift+f
开始调试 f5
切换终端 ctrl+`ubuntu
dotnet aspnet-codegenerator npm install -g yo npm install -g generator-aspnet
dotnet --version
dotnet new
dotnet new -t web
dotnet restore dotnet restore -f E:\dotnet\applib\bin\Debug\
dotnet build
dotnet run dotnet xxx.dll
dotnet publish eg: dotnet publish -r win10-x64 eg: dotnet publish -r ubuntu.14.04-x64
dotnet pack
dotnet test