Resolving dependencies in the .NET Core application

.NET Core uses NuGet to restore dependencies and project-specific tools, which are done in parallel when you enter the command from a command line in the directory where your project/solution resides. Let's resolve the dependencies of the projects that we have just created. Enter the following command from the current directory (D:DotNetCore, in our case):

    dotnet restore  

This will start restoring the .NET Core packages/dependencies:

In the preceding screenshot, you can see how it executed in parallel to first restore its package dependencies and then the tool-related dependencies for MSBuild. Unless these dependencies are resolved, you cannot proceed to build and run your application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.134.118.95