- dotnet restore
- 源代碼:https://github.com/dotnet/cli/tree/rel/1.0.0/src/dotnet/commands/dotnet-restore
- 入口:https://github.com/dotnet/cli/blob/rel/1.0.0/src/dotnet/commands/dotnet-restore/Program.cs
- 作用:主要是尋找當前目錄下的項目文件(project.json),然后利用NuGet庫還原整個項目的依賴庫,然后遍歷每個目錄,生成項目文件,繼續還原該項目文件中的依賴項。
- dotnet build
- dotnet run
.NET CLI(.NET Core Command-Line) GitHub:https://github.com/dotnet/cli