Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2017-02-01 06:55:57 +0300
committerGitHub <noreply@github.com>2017-02-01 06:55:57 +0300
commit21382c3d794fd7cb1d5d741ce810760e543a08aa (patch)
tree8e030fcc99730ce1668f595024c307b33496c64c /Documentation
parent1d8108bc230f283fcb95fc3f11faeabac8d4ad2e (diff)
parenteb79a789b857ada1608276ee3aaf8133937ad206 (diff)
Merge pull request #15665 from dotnet/eerhardt-patch-1
Update dogfooding.md for latest CLI changes
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/project-docs/dogfooding.md51
1 files changed, 4 insertions, 47 deletions
diff --git a/Documentation/project-docs/dogfooding.md b/Documentation/project-docs/dogfooding.md
index 4a4a542e0d..3ef8535093 100644
--- a/Documentation/project-docs/dogfooding.md
+++ b/Documentation/project-docs/dogfooding.md
@@ -13,59 +13,16 @@ sure to consult this document often.
1. Install CLI 2.0.0-alpha SDK
- [Win 64-bit Latest](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-dev-win-x64.latest.exe)
- [macOS 64-bit Latest](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-dev-osx-x64.latest.pkg)
- - [Others](https://github.com/dotnet/cli/blob/master/README.md)
+ - [Others](https://github.com/dotnet/cli/blob/master/README.md#installers-and-binaries)
## 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
- <configuration>
- <packageSources>
- <add key="CoreFX" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
- </packageSources>
- </configuration>
- ```
-
-3. Select the nightly build from our feed
- - <https://dotnet.myget.org/feed/dotnet-core/package/nuget/Microsoft.NETCore.App>
- - 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
-<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
-
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFramework>netcoreapp2.0</TargetFramework>
- <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
- </PropertyGroup>
-
- <!-- Make sure to use Update, not Include! -->
- <ItemGroup>
- <PackageReference Update="Microsoft.NETCore.App" Version="2.0.0-beta-001386-00" />
- </ItemGroup>
-
-</Project>
-```
-
-Restore packages so that you're ready to play:
+2. Restore packages so that you're ready to play:
```
$ dotnet restore