1. Microsoft Build Tools 2015

1.1. Installation

  • Run the BuildTools_Full-14.0.23107.10.exe file with administrative privileges.

  • Click Install.

  • Wait.

  • Click Close.

1.2. Installation

  • Run the vs_buildtools-15.9.28307.222.exe --passive.exe file with administrative privileges.

  • Wait.

  • Start Visual Studio Installer with administrative privileges.

  • Click Visual Studio Build Tools 2017 > Modify.

  • Select the Workloads tab.

  • Check Visual C++ build tools.

Windows
■ Visual C++ build tools
■ Universal Windows Platform build tools
□ .NET desktop build tools
Web & Cloud
□ Web development build tools
□ Azure development build tools
□ Node.js build tools
□ Office/SharePoint build tools
Mobile & Gaming
□ Mobile Development with .NET
Other Toolsets
□ .NET Core build tools
  • Expand MSBuild Tools in the Summary panel.

  • Expand Visual C++ build tools in the Summary panel.

  • Uncheck Visual C++ build tools > Optional > Testing tools core features - Build Tools.

Summary
MSBuild Tools
  Provides the tools required to build MSBuild-based applications.
Visual C++ build tools
  Included
  ■ Visual C++ Build Tools core features
  ■ VC++ 2017 version 15.7 v14.14 latest v141 tools
  ■ Visual C++ 2017 Redistributable Update
  Optional
  ■ Windows 10 SDK (10.0.17134.0)
  □ Testing tools core features - Build Tools
  □ Windows 8.1 SDK and UCRT SDK
  □ Visual C++ ATL for x86 and x64
  □ Visual C++ MFC for x86 and x64
  □ C++/CLI support
  □ Modules for Standard Library (experimental)
  □ Windows 10 SDK (10.0.16299.0) for Desktop C++ [x86 and x64]
  □ Windows 10 SDK (10.0.15063.0) for Desktop C++ [x86 and x64]
  □ Windows 10 SDK (10.0.14393.0)
  □ Windows 10 SDK (10.0.10586.0)
  □ Windows 10 SDK (10.0.10240.0)
  □ VC++ 2015.3 v14.00 (v140) toolset for desktop
  ■ Visual C++ compilers and libraries for ARM
  □ Visual C++ compilers and libraries for ARM64
  □ Windows XP support for C++
Universal Windows Platform build tools
  Included
  ■ Universal Windows Platform build prerequisites
  Optional
  ■ Windows 10 SDK (10.0.17134.0)
  □ Windows 10 SDK (10.0.16299.0) for UWP: C#, VB, JS
  □ Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS
  □ Windows 10 SDK (10.0.14393.0)
  □ Windows 10 SDK (10.0.10586.0)
  □ Windows 10 SDK (10.0.10240.0)
Total space required    13.43 GB
  • Click Modify.

  • Wait about 30 minutes for the downloads nad installations to finish.

  • Click Not now to skip restarting the computer.

  • Close Visual Studio Installer.

  • Restart the computer.

1.3. Usage

Enter the following commands at a Command Line.

cd C:\Program Files (x86)\MSBuild\14.0\Bin
dir *.exe
csc.exe /?
MSBuild.exe /?
cd C:\Program Files (x86)\MSBuild\14.0\Bin\amd64
dir *.exe
csc.exe /?
MSBuild.exe /?

2. Visual C++ Build Tools 2015

2.1. Installation

  • Run the visualcppbuildtools_full-14.0.25420.1.exe file with administrative privileges.

  • Choose Custom.

  • Click Next.

  • Check Windows 8.1 SDK.

  • Check Windows 10 SDK 10.0.10240.

  • Check ATL/MFC SDK.

■ Windows 8.1 SDK
■ Windows 10 SDK 10.0.10240
■ ATL/MFC SDK
□ .NET Framework SDK
  • Click Next.

  • Click Install.

  • Wait.

  • Click Close.

2.2. Usage

  • Select Start > Programs > Visual C Build Tools > Windows Desktop Command Prompts > Visual C x86 Native Build Tools Command Prompt.

  • Enter the following commands at the Command Line.

cd D:\Toolchain
cl.exe /c /EHsc /FoDiskinfo-exp-x86.obj /MT /nologo Diskinfo.cpp
link.exe /MACHINE:X86 /nologo /OUT:Diskinfo-exp-x86.exe Diskinfo-exp-x86.obj
Diskinfo-exp-x86.exe
exit
  • Select Start > Programs > Visual C Build Tools > Windows Desktop Command Prompts > Visual C x64 Native Build Tools Command Prompt.

  • Enter the following commands at the Command Line.

cd D:\Toolchain
cl.exe /c /EHsc /FoDiskinfo-exp-x64.obj /MT /nologo Diskinfo.cpp
link.exe /MACHINE:X64 /nologo /OUT:Diskinfo-exp-x64.exe Diskinfo-exp-x64.obj
Diskinfo-exp-x64.exe
exit

3. Visual Studio Build Tools 2017

3.1. Installation

  • Run the vs_buildtools-15.7.27703.2042.exe file with administrative privileges.

  • Click Continue.

  • Wait for Visual Studio Installer download and installation to finish.

  • Select the Workloads tab.

  • Check Visual C++ build tools.

Windows
■ Visual C++ build tools                        4.70 GB
■ Universal Windows Platform build tools        8.99 GB
□ .NET desktop build tools                      2.41 GB
Web & Cloud
□ Web development build tools                   2.47 GB
□ Azure development build tools                 2.59 GB
□ Node.js build tools                           2.00 MB
□ Office/SharePoint build tools                 1.64 GB
Mobile & Gaming
□ Mobile Development with .NET                  3.61 GB
Other Toolsets
□ .NET Core build tools                         1.79 GB
  • Check Visual C++ ATL for x86 and x64.

  • Check Visual C++ MFC for x86 and x64.

Summary
■ MSBuild Tools
  Provides the tools required to build MSBuild-based applications.
■ Visual C++ build tools
  Included
  ■ Visual C++ Build Tools core features
  ■ VC++ 2017 version 15.7 v14.14 latest v141 tools
  ■ Visual C++ 2017 Redistributable Update
  Optional
  ■ Windows 10 SDK (10.0.17134.0)
  ■ Testing tools core features - Build Tools
  □ Windows 8.1 SDK and UCRT SDK
  ■ Visual C++ ATL for x86 and x64
  ■ Visual C++ MFC for x86 and x64
  □ C++/CLI support
  □ Modules for Standard Library (experimental)
  □ Windows 10 SDK (10.0.16299.0) for Desktop C++ [x86 and x64]
  □ Windows 10 SDK (10.0.15063.0) for Desktop C++ [x86 and x64]
  □ Windows 10 SDK (10.0.14393.0)
  □ Windows 10 SDK (10.0.10586.0)
  □ Windows 10 SDK (10.0.10240.0)
  □ VC++ 2015.3 v14.00 (v140) toolset for desktop
  □ Visual C++ compilers and libraries for ARM
  □ Visual C++ compilers and libraries for ARM64
  □ Windows XP support for C++
■ Universal Windows Platform build tools
  Included
  ■ Universal Windows Platform build prerequisites
  Optional
  ■ Windows 10 SDK (10.0.17134.0)
  □ Windows 10 SDK (10.0.16299.0) for UWP: C#, VB, JS
  □ Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS
  □ Windows 10 SDK (10.0.14393.0)
  □ Windows 10 SDK (10.0.10586.0)
  □ Windows 10 SDK (10.0.10240.0)
Total space required    13.95 GB
  • Select the Individual components tab.

  • Select the Language packs tab.

  • Select the Installation locations tab.

Location:       C:\Program Files\Microsoft Visual Studio\2017\BuildTools        # 32-bit Windows
Location:       C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools  # 64-bit Windows
  • Click Install.

  • Wait for Visual Studio Build Tools 2017 download and installation to finish.

  • Click Restart.

  • Close Visual Studio Installer.

3.2. Usage

  • Select Start > Programs > Visual Studio 2017 > Visual Studio Tools > Developer Command Prompt for VS 2017.

  • Enter the following commands at the Command Line.

where msbuild
exit
  • Select Start > Programs > Visual Studio 2017 > Visual Studio Tools > VC > x64 Native Tools Command Prompt for VS 2017.

  • Enter the following commands at the Command Line.

where msbuild
exit

4. Visual Studio Installer

4.1. Installation

  • Download the vs_community.exe, vs_professional.exe and vs_enterprise.exe files from https://docs.microsoft.com/en-us/visualstudio/install/install-vs-inconsistent-quality-network.

  • Right-click the vs_community.exe file and select Properties.

  • Select the Details tab.

  • Append the version number to the file name of the downloaded files.

  • Run the vs_community-15.7.27703.2042.exe file with administrative privileges.

  • Click Continue.

  • Wait for Visual Studio Installer download and installation to finish.

  • Close the Installing — Visual Studio Community 2017 - 15.7.5 window.

Visual Studio Community 2017            15.7.5
Visual Studio Professional 2017         15.7.5
Visual Studio Enterprise 2017           15.7.5
Visual Studio Installer                 1.16.1251.625
  • Close Visual Studio Installer.

4.2. Offline Installation

vs_community.exe --layout c:\vs2017layout --lang en-US

5. Visual Studio Installer

5.1. Installation

  • Start Visual Studio Installer with administrative privileges.

  • Close Visual Studio Installer.