diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-02-14 22:28:11 +0300 |
---|---|---|
committer | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2017-02-14 22:28:11 +0300 |
commit | 1d1d84f8ea0c64bcf0324860c2acb3f486602ede (patch) | |
tree | 926e28c5f4b2d2471165798aa2828a3c153f7bfd /Documentation | |
parent | 3ecc7c064952a993c8b945314be13e3de832eb59 (diff) |
Modify instructions to match latest CLI (#2750)
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/how-to-build-and-run-ilcompiler-in-console-shell-prompt.md | 14 |
1 files changed, 2 insertions, 12 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 34fe2096f..3e0e740fc 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 @@ -16,7 +16,7 @@ This will result in the following: # Install latest CLI tools -* 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. +* 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`. * On windows ensure you are using the 'VS2015 x64 Native Tools Command Prompt' (This is distinct from the 'Developer Command Prompt for VS2015') @@ -30,7 +30,7 @@ You should now be able to use the `dotnet` commands of the CLI tools. * 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. ``` -<Project ToolsVersion="15.0"> +<Project> <Import Project="$(MSBuildSDKsPath)\Microsoft.NET.Sdk\Sdk\Sdk.props" /> <PropertyGroup> @@ -38,19 +38,9 @@ You should now be able to use the `dotnet` commands of the CLI tools. <TargetFramework>netcoreapp1.0</TargetFramework> </PropertyGroup> - <ItemGroup> - <Compile Include="**\*.cs" /> - <EmbeddedResource Include="**\*.resx" /> - </ItemGroup> - - <ItemGroup> - <PackageReference Include="Microsoft.NETCore.App" Version="1.0.1" /> - </ItemGroup> - <Import Project="$(MSBuildSDKsPath)\Microsoft.NET.Sdk\Sdk\Sdk.targets" /> <Import Project="$(IlcPath)\Microsoft.NETCore.Native.targets" /> </Project> - ``` * Set IlcPath environment variable to point to the built binaries. Alternatively, pass an extra `/p:IlcPath=<repo_root>\bin\Product\Windows_NT.x64.Debug\packaging\publish1` argument to all dotnet commands below. |