Notices: This section not yet converted to new layout. Download stats are rolling back out.

Visual C++ Build Tools 2017


This package skips automatic verification:

Installation fails because a reboot is required after KB2919355 was installed. This only applies to OS that require the KB in the first place (pre Win10 / Server 2016).

This package was approved by moderator AdmiringWorm on 4/27/2017.

These tools allow you to build C++ libraries and applications targeting Windows desktop.
They are the same tools that you find in Visual Studio 2017 in a scriptable standalone installer.
Now you only need to download the tools you need to build C++ projects.


This package installs MSBuild and Visual C++ tools. For MSBuild only see microsoft-build-tools package.

Package Specific

Package Parameters

The following package parameters can be set:

  • /IncludeRequired - install the MSBuild tools and required VC++ tools
  • /IncludeRecommended - install the MSBuild tools and recommended (default) VC++ tools
  • /IncludeOptional - install the MSBuild tools and all of the optional VC++ tools

These parameters can be passed to the installer with the use of --params.
For example: --params "'/IncludeOptional'".

To install Visual C++ Build Tools 2017, run the following command from the command line or from PowerShell:

C:\> choco install visualcpp-build-tools

To upgrade Visual C++ Build Tools 2017, run the following command from the command line or from PowerShell:

C:\> choco upgrade visualcpp-build-tools


  • tools\chocolateyInstall.ps1 Show
    $packageName = 'visualcpp-build-tools'
    $installerType = 'EXE'
    $url = ''
    $checksum = 'E77D433C44F3D0CBF7A3EFA497101DE93918C492C2EBCAEC79A1FAF593D419BC'
    $checksumType = 'sha256'
    $silentArgs = "--quiet --norestart --add Microsoft.VisualStudio.Workload.VCTools"
    $validExitCodes = @(0,3010)
    $pp = Get-PackageParameters
    if ($pp["IncludeRequired"] -ne $null -and $pp["IncludeRequired"] -ne '') { $pp["IncludeRequired"] = 'true' }
    if ($pp["IncludeRecommended"] -ne $null -and $pp["IncludeRecommended"] -ne '') { $pp["IncludeRecommended"] = 'true' }
    if ($pp["IncludeOptional"] -ne $null -and $pp["IncludeOptional"] -ne '') { $pp["IncludeOptional"] = 'true' }
    if ($pp["IncludeRequired"] -eq $null -and $pp["IncludeRecommended"] -eq $null -and $pp["IncludeOptional"] -eq $null) { $pp["IncludeRecommended"] = 'true' }
    if ($pp["IncludeOptional"] -eq 'true') {
    	$silentArgs += ' --includeOptional'
    elseif ($pp["IncludeRecommended"] -eq 'true') {
    	$silentArgs += ' --includeRecommended'
    else {
    	// required components are installed if no additional parameters given
    Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -checksum "$checksum" -checksumType "$checksumType" -validExitCodes $validExitCodes

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)

  • Microsoft Corporation


Release Notes

Version History

Version Downloads Last updated Status
Visual C++ Build Tools 2017 15.0.26228.0 356 Thursday, March 16, 2017 approved
Visual C++ Build Tools 2015 14.0.25420.1 2689 Sunday, January 8, 2017 approved

Discussion for the Visual C++ Build Tools 2017 Package

Ground rules:

  • This discussion is only about Visual C++ Build Tools 2017 and the Visual C++ Build Tools 2017 package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Visual C++ Build Tools 2017, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.