From 5c7c3894b843faec823a20d24b931a84cc26f2e8 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Tue, 7 Mar 2017 18:15:25 -0800 Subject: [PATCH] Updating the building/windows-instructions.md to indicate the support for and requirements of using VS2017. Commit migrated from https://github.com/dotnet/coreclr/commit/af158263f3ab3143dbe0722b8eca7b58f2c8594c --- docs/coreclr/building/windows-instructions.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/coreclr/building/windows-instructions.md b/docs/coreclr/building/windows-instructions.md index 0938e83..dd9ad6f 100644 --- a/docs/coreclr/building/windows-instructions.md +++ b/docs/coreclr/building/windows-instructions.md @@ -11,13 +11,20 @@ You must install several components to build the CoreCLR and CoreFX repos. These ## Visual Studio Visual Studio must be installed. Supported versions: -- [Visual Studio 2015](https://www.visualstudio.com/downloads/visual-studio-2015-downloads-vs) (Community, Professional, Enterprise). The community version is completely free. +- [Visual Studio 2015](https://www.visualstudio.com/vs/older-downloads/) (Community, Professional, Enterprise). The community version is completely free. +- [Visual Studio 2017](https://www.visualstudio.com/downloads/) (Community, Professional, Enterprise). The community version is completely free. -To debug managed code, ensure you have installed at least [Visual Studio 2015 Update 3](https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs). +For Visual Studio 2015: +* To debug managed code, ensure you have installed at least [Visual Studio 2015 Update 3](https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs). +* Make sure that you install "VC++ Tools". By default, they will not be installed. +* To build for Arm32, Make sure that you have the Windows SDK for Windows 10 installed (or selected to be installed as part of VS installation). To explicitly install Windows SDK, download it from here: [Windows SDK for Windows 10](https://developer.microsoft.com/en-us/windows/downloads) -Make sure that you install "VC++ Tools". By default, they will not be installed. - -To build for Arm32, you need to have [Windows SDK for Windows 10](https://developer.microsoft.com/en-us/windows/downloads) installed. +For Visual Studio 2017: +* Make sure that you install the ".NET Core Cross-Platform Development" workload. +* Make sure that you install the "Desktop Development with C++" workload. + * Make sure that the "VC++ 2017 v141 toolset (x86,x64)" component is selected in list of Optional components + * To build for Arm32, Make sure that you have the Windows SDK for Windows 10 installed (or selected to be installed as part of VS installation). To explicitly install Windows SDK, download it from here: [Windows SDK for Windows 10](https://developer.microsoft.com/en-us/windows/downloads) +* Ensure you are running from the "Developer Command Prompt for VS2017"; Otherwise, the build will attempt to locate and use the VS2015 toolset. Visual Studio Express is not supported. @@ -117,4 +124,3 @@ Build has a number of options that you can learn about using build -?. Some of See [Using Your Build](../workflow/UsingYourBuild.md) for instructions on running code with your build. See [Running Tests](../workflow/RunningTests.md) for instructions on running the tests. - -- 2.7.4