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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-09-25 03:51:10 +0300
committerGitHub <noreply@github.com>2017-09-25 03:51:10 +0300
commit66526340723a80d609a904d5ed4de18403f69210 (patch)
tree8aed7a41eeef642678900240871c2cbd6af7fcfb /Documentation
parent311893ff1f3e3bdd87eb7babb39c9c6ad1f94cf4 (diff)
Update how-to-build instructions to point to the released .NET Core 2.0 SDK (#4602)
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/how-to-build-and-run-ilcompiler-in-console-shell-prompt.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/Documentation/how-to-build-and-run-ilcompiler-in-console-shell-prompt.md b/Documentation/how-to-build-and-run-ilcompiler-in-console-shell-prompt.md
index 26d1ec61e..424dd958f 100644
--- a/Documentation/how-to-build-and-run-ilcompiler-in-console-shell-prompt.md
+++ b/Documentation/how-to-build-and-run-ilcompiler-in-console-shell-prompt.md
@@ -14,9 +14,9 @@ This will result in the following:
- Build native and managed components of ILCompiler. The final binaries are placed to `<repo_root>\bin\<OS>.<arch>.<Config>\tools`.
- Build and run tests
-# Install latest CLI tools
+# Install .NET Core 2.0 SDK
-* Download latest CLI tools from [https://github.com/dotnet/cli/](https://github.com/dotnet/cli/) and add them to the path. The latest CLI tools include MSBuild support that the native compilation build integration depends on. These instructions have been tested with build `1.0.0-rc4-004812`.
+* Download .NET Core 2.0 SDK from [https://www.microsoft.com/net/download/core](https://www.microsoft.com/net/download/core)
* On windows ensure you are using the 'x64 Native Tools Command Prompt for VS 2017' or 'VS2015 x64 Native Tools Command Prompt'
(This is distinct from the 'Developer Command Prompt for VS 2017')
@@ -26,7 +26,7 @@ You should now be able to use the `dotnet` commands of the CLI tools.
* Ensure that you have done a repo build per the instructions above.
* Create a new folder and switch into it.
-* Run `dotnet new` on the command/shell prompt. This will add a project template. If you get an error, please ensure the [pre-requisites](prerequisites-for-building.md) are installed.
+* Run `dotnet new console` on the command/shell prompt. This will add a project template. If you get an error, please ensure the [pre-requisites](prerequisites-for-building.md) are installed.
* Modify `.csproj` file that is part of your project. A few lines at the top and at the bottom are different from the default template.
```
@@ -35,7 +35,7 @@ You should now be able to use the `dotnet` commands of the CLI tools.
<PropertyGroup>
<OutputType>Exe</OutputType>
- <TargetFramework>netcoreapp1.0</TargetFramework>
+ <TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<Import Project="$(MSBuildSDKsPath)\Microsoft.NET.Sdk\Sdk\Sdk.targets" />
@@ -49,9 +49,7 @@ You should now be able to use the `dotnet` commands of the CLI tools.
* Windows: `set IlcPath=<repo_root>\bin\Windows_NT.x64.Debug`
-* Run `dotnet restore`. This will download nuget packages required for compilation.
-
-* Please [open an issue](https://github.com/dotnet/corert/issues) if these instructions do not work anymore. .NET Core integration with MSBuild is work in progress and these instructions need updating accordingly from time to time.
+* Please [open an issue](https://github.com/dotnet/corert/issues) if these instructions do not work anymore.
* Projects with references to other projects or packages require workaround described in https://github.com/dotnet/corert/issues/2619#issuecomment-276095878