- 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