From d2c49844a78d5e6dd9a5e685cbd434591556aeec Mon Sep 17 00:00:00 2001 From: Bradley Grainger Date: Thu, 3 Dec 2015 22:38:28 -0800 Subject: [PATCH] Add instructions to run `dnu restore`. Fixes #719 --- aspnet/dnx/console.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aspnet/dnx/console.rst b/aspnet/dnx/console.rst index 8a6361821a..973df11140 100644 --- a/aspnet/dnx/console.rst +++ b/aspnet/dnx/console.rst @@ -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 `_ 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 ---------------