Add instructions to run `dnu restore`. Fixes #719

pull/738/merge
Bradley Grainger 2015-12-03 22:38:28 -08:00 committed by RachelAppel
parent 5516e2701e
commit d2c49844a7
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Using the .NET Execution environment (DNX), it's very easy to run a simple conso
In this article:
- `Creating a Console App`_
- `Specifying Project Settings`_
- `Restoring Packages`_
- `Running the App`_
You can `view and download the source <https://github.com/aspnet/Docs/tree/master/common/samples/ConsoleApp1>`_ from the project created in this article.
@ -43,6 +44,13 @@ The ``project.json`` files defines the app dependencies and target frameworks in
Save your changes.
Restoring Packages
------------------
Now that we've specified the project dependencies, we can download all the required packages. Enter ``dnu restore`` at the command prompt to download all the missing packages.
.. note:: Packages need to be downloaded every time you edit ``dependencies`` in ``project.json``. Use the ``dnu restore`` command after editing this section of the project file.
Running the App
---------------