diff --git a/docs/libraries/project-docs/dogfooding.md b/docs/libraries/project-docs/dogfooding.md index 4a4a542e0d140f9265ef4297ceac54562a8a1ab5..039bc8f3ddebb824d15e34a9160c4bcf5ea66664 100644 --- a/docs/libraries/project-docs/dogfooding.md +++ b/docs/libraries/project-docs/dogfooding.md @@ -18,54 +18,11 @@ sure to consult this document often. ## Setup the project 1. Create a new project - - Creat a new folder for your app + - Create a new folder for your app + - Ensure you have a "2.0.0-*" CLI installed on your path. You can check with `dotnet --info`. - Create project file by running `dotnet new` -2. Add the CoreFX MyGet feed to your NuGet configuration. - - You can do this globally but we recommend not doing this as this might - affect other projects on your machine and you probably don't want that. - - Instead, add a `nuget.config` that is local to your project. You can - just put it next to the `.csproj` file. - See the [NuGet docs](https://docs.nuget.org/ndocs/consume-packages/configuring-nuget-behavior) - for details. - - ```xml - - - - - - ``` - -3. Select the nightly build from our feed - - - - Presumably you want the latest version. - -In order to consume the latest build, you'll need to update your `.csproj` -as follows: - -1. Update `TargetFramework`, add `RuntimeIdentifier` as below (ideally - `dotnet.exe` would infer your current architecture but it currently doesn't) -2. Update package reference to match version selected above, as below - -```xml - - - - Exe - netcoreapp2.0 - win10-x64 - - - - - - - - -``` - -Restore packages so that you're ready to play: +2. Restore packages so that you're ready to play: ``` $ dotnet restore @@ -73,7 +30,7 @@ $ dotnet restore ## Consume the new build -Edit your `Program.cs` to consume the new APIs, for example: +3. Edit your `Program.cs` to consume the new APIs, for example: ```CSharp using System; @@ -90,7 +47,7 @@ class Program } ``` -Run the bits: +4. Run the bits: ``` $ dotnet run