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