- dotnet Restore
- Source code: Https://github.com/dotnet/cli/tree/rel/1.0.0/src/dotnet/commands/dotnet-restore
- Entrance: Https://github.com/dotnet/cli/blob/rel/1.0.0/src/dotnet/commands/dotnet-restore/Program.cs
- Role: The main thing is to find the project file (Project.json) under the current directory, then use the NuGet Library to restore the entire project's dependent library, then traverse each directory, build the project file, and continue to restore the dependencies in the project file.
- dotnet Build
- Source code: Https://github.com/dotnet/cli/tree/rel/1.0.0/src/dotnet/commands/dotnet-build
- Entrance: Https://github.com/dotnet/cli/blob/rel/1.0.0/src/dotnet/commands/dotnet-build/Program.cs
- Role: Compiling the application
- Dotnet Run
- Source code:Https://github.com/dotnet/cli/tree/rel/1.0.0/src/dotnet/commands/dotnet-run
- Entrance: Https://github.com/dotnet/cli/blob/rel/1.0.0/src/dotnet/commands/dotnet-run/Program.cs
- Role: Running the application
. NET CLI(. NET Core command-line) GitHub:https://github.com/dotnet/cli
What does the. NET core "dotnet Restore", "dotnet Build", and "dotnet Run" commands be used for?