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

Microsoft Visual C++ Build Tools 2015

2015.4

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator AdmiringWorm on 2/16/2017.

Visual C++ Build Tools 2015 provides the required tools for building C++ applications and libraries targeting Windows desktop. If you want to build your C++ projects targeting Windows desktop without having Visual Studio installed on your computer, Visual C++ Build Tools 2015 provides C++ compilers libraries, build scripts, and Windows SDKs.

The default installation includes the Visual C++ compiler toolset, libraries and MSBuild for Windows Desktop development.

choco install -y vcbuildtools

Optional Software

The following optional software is available for installation:

  • Win81SDK_CppBuildSKUV1 - Windows 8.1 SDK
  • Win10SDK_VisibleV1 - Windows 10 SDK
  • VisualCppBuildTools_ATLMFC_SDK - ATL/MFC SDK
  • VisualCppBuildTools_NETFX_SDK - .NET Framework SDK

If you'd like to install all optional software run the following command:

choco install -y vcbuildtools -ia "/Full"

If you'd like to install only parts of the optional software run the following command, adding or removing the above add-ons as required:

choco install -y vcbuildtools -ia "/InstallSelectableItems VisualCppBuildTools_ATLMFC_SDK;VisualCppBuildTools_NETFX_SDK"

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

C:\> choco install vcbuildtools

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

C:\> choco upgrade vcbuildtools

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName= 'vcbuildtools'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = 'https://go.microsoft.com/fwlink/?LinkId=691126'
    
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'EXE'
      url           = $url
    
      silentArgs   = '/S'
      validExitCodes= @(0,3010)
    
      softwareName  = 'vcbuildtools*'
      checksum      = '3e0de8af516c15547602977db939d8c2e44fcc0b'
      checksumType  = 'sha1'
    }
    
    Install-ChocolateyPackage @packageArgs
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'vcbuildtools'
    $softwareName = 'vcbuildtools*'
    $installerType = 'EXE' 
    
    $silentArgs = '/qn /norestart'
    $validExitCodes = @(0, 3010, 1605, 1614, 1641)
    if ($installerType -ne 'MSI') {
      $silentArgs = '/S'
      $validExitCodes = @(0)
    }
    
    $uninstalled = $false
    $local_key     = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
    $machine_key   = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'
    $machine_key6432 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
    
    $key = Get-ItemProperty -Path @($machine_key6432,$machine_key, $local_key) `
                            -ErrorAction SilentlyContinue `
             | ? { $_.DisplayName -like "$softwareName" }
    
    if ($key.Count -eq 1) {
      $key | % { 
        $file = "$($_.UninstallString)"
    
        if ($installerType -eq 'MSI') {
          $silentArgs = "$($_.PSChildName) $silentArgs"
    
          $file = ''
        }
    
        Uninstall-ChocolateyPackage -PackageName $packageName `
                                    -FileType $installerType `
                                    -SilentArgs "$silentArgs" `
                                    -ValidExitCodes $validExitCodes `
                                    -File "$file"
      }
    } elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    } elseif ($key.Count -gt 1) {
      Write-Warning "$key.Count matches found!"
      Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
      Write-Warning "Please alert package maintainer the following keys were matched:"
      $key | % {Write-Warning "- $_.DisplayName"}
    }
    

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.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Microsoft

Tags

Version History

Version Downloads Last updated Status
Microsoft Visual C++ Build Tools 2015 2015.3 5584 Friday, August 19, 2016 approved
Microsoft Visual C++ Build Tools 2015 Technical Preview 2015.2 486 Thursday, January 14, 2016 approved
Microsoft Visual C++ Build Tools 2015 Technical Preview 2015.1 230 Saturday, January 9, 2016 approved
Microsoft Visual C++ Build Tools 2015 Technical Preview 2015.0 363 Thursday, January 7, 2016 approved

Discussion for the Microsoft Visual C++ Build Tools 2015 Package

Ground rules:

  • This discussion is only about Microsoft Visual C++ Build Tools 2015 and the Microsoft Visual C++ Build Tools 2015 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 Microsoft Visual C++ Build Tools 2015, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok