Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

2,471,798

Downloads of v 2.0.0.20170906:

22,307

Last Update:

06 Sep 2017

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

dotnetcore admin dotnet .net core sdk cli

.NET Core SDK

This is not the latest version of .NET Core SDK available.

  • 1
  • 2
  • 3

2.0.0.20170906 | Updated: 06 Sep 2017

Downloads:

2,471,798

Downloads of v 2.0.0.20170906:

22,307

Software Author(s):

  • Microsoft

.NET Core SDK 2.0.0.20170906

This is not the latest version of .NET Core SDK available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install .NET Core SDK, run the following command from the command line or from PowerShell:

>

To upgrade .NET Core SDK, run the following command from the command line or from PowerShell:

>

To uninstall .NET Core SDK, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade dotnetcore-sdk -y --source="'INTERNAL REPO URL'" --version="'2.0.0.20170906'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade dotnetcore-sdk -y --source="'INTERNAL REPO URL'" --version="'2.0.0.20170906'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install dotnetcore-sdk
  win_chocolatey:
    name: dotnetcore-sdk
    version: '2.0.0.20170906'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'dotnetcore-sdk' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.0.0.20170906'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller dotnetcore-sdk
{
    Name     = "dotnetcore-sdk"
    Version  = "2.0.0.20170906"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'dotnetcore-sdk':
  ensure   => '2.0.0.20170906',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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

Package Approved

This package was approved as a trusted package on 06 Sep 2017.

Description

.NET Core is a blazing fast, lightweight and modular platform for creating web applications and services that run on Windows, Linux and Mac.

The SDK includes the runtime and command line tools for creating .NET Core applications


tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop';

$packageName= 'dotnetcore-sdk'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x86.exe'
$checksum   = 'af488629001e60d50bd0ca268de28b2ab97f6c20213be007dda763b93d51c3d4'
$url64      = 'https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x64.exe'
$checksum64 = 'cc490d28f55b67185688ff51dc6274aea6a582e47a07e9d084437e940c69f7a0'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = $url
  url64bit      = $url64

  silentArgs    = "/install /quiet /norestart /log `"$env:TEMP\$($packageName)\$($packageName).MsiInstall.log`""
  validExitCodes= @(0, 3010, 1641)

  softwareName  = 'dotnet-core*'
  checksum      = $checksum
  checksumType  = 'sha256'
  checksum64    = $checksum64
}

Install-ChocolateyPackage @packageArgs

















tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

$packageName= 'dotnetcore-sdk'
$silentArgs = "/uninstall /quiet /norestart"
$url        = 'https://go.microsoft.com/fwlink/?LinkID=798399'
$url64bit   = 'https://go.microsoft.com/fwlink/?LinkID=798398'
$fileType   = "exe"

# Resolving the download location in the same way as Install-ChocolateyPackage: 
#   https://github.com/chocolatey/choco/blob/master/src/chocolatey.resources/helpers/functions/Install-ChocolateyPackage.ps1
$chocTempDir = $env:TEMP
$tempDir = Join-Path $chocTempDir "$packageName"
if ($env:packageVersion -ne $null) {$tempDir = Join-Path $tempDir "$env:packageVersion"; }

if (![System.IO.Directory]::Exists($tempDir)) { [System.IO.Directory]::CreateDirectory($tempDir) | Out-Null }
$file = Join-Path $tempDir "$($packageName)Install.$fileType"

$filePath = Get-ChocolateyWebFile $packageName $file $url $url64bit -checksum $checksum -checksumType $checksumType -checksum64 $checksum64 -checksumType64 $checksumType64 -options $options -getOriginalFileName

# Supporting chocolatey 0.9.9.x where the original/full path was not returned by Get-ChocolateyWebFile
if ($filePath -eq $null) { $filePath = $file }

Uninstall-ChocolateyPackage $packageName "EXE" $silentArgs $filePath -validExitCodes @(0, 3010)


















Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
.NET Core SDK 3.1.425 16541 Tuesday, November 8, 2022 Approved
.NET Core SDK 3.1.424 14004 Wednesday, October 12, 2022 Approved
.NET Core SDK 3.1.423 12085 Wednesday, September 14, 2022 Approved
.NET Core SDK 3.1.422 13266 Tuesday, August 9, 2022 Approved
.NET Core SDK 3.1.421 11358 Tuesday, July 12, 2022 Approved
.NET Core SDK 3.1.420 11638 Wednesday, June 15, 2022 Approved
.NET Core SDK 3.1.419 13594 Wednesday, May 11, 2022 Approved
.NET Core SDK 3.1.418 10334 Tuesday, April 12, 2022 Approved
.NET Core SDK 3.1.417 15524 Wednesday, March 9, 2022 Approved
.NET Core SDK 3.1.416 34358 Wednesday, December 15, 2021 Approved
.NET Core SDK 3.1.415 12744 Monday, November 8, 2021 Approved
.NET Core SDK 3.1.414.20211031 4488 Sunday, October 31, 2021 Approved
.NET Core SDK 3.1.414 11661 Tuesday, October 12, 2021 Approved
.NET Core SDK 3.1.413 17636 Tuesday, September 14, 2021 Approved
.NET Core SDK 3.1.412 12475 Wednesday, August 11, 2021 Approved
.NET Core SDK 3.1.411 12471 Tuesday, July 13, 2021 Approved
.NET Core SDK 3.1.410 18660 Tuesday, June 8, 2021 Approved
.NET Core SDK 3.1.409 12372 Tuesday, May 11, 2021 Approved
.NET Core SDK 3.1.408 12717 Wednesday, April 14, 2021 Approved
.NET Core SDK 3.1.407 24546 Tuesday, March 9, 2021 Approved
.NET Core SDK 3.1.406 23535 Tuesday, February 9, 2021 Approved
.NET Core SDK 3.1.405 15190 Tuesday, January 12, 2021 Approved
.NET Core SDK 3.1.404 32963 Tuesday, November 10, 2020 Approved
.NET Core SDK 3.1.403 31185 Tuesday, October 13, 2020 Approved
.NET Core SDK 3.1.402 25657 Tuesday, September 8, 2020 Approved
.NET Core SDK 3.1.401 24382 Tuesday, August 11, 2020 Approved
.NET Core SDK 3.1.302 20430 Tuesday, July 14, 2020 Approved
.NET Core SDK 3.1.301 21754 Tuesday, June 9, 2020 Approved
.NET Core SDK 3.1.300 14488 Tuesday, May 19, 2020 Approved
.NET Core SDK 3.1.202 4399 Friday, May 15, 2020 Approved
.NET Core SDK 3.1.201 40674 Wednesday, March 25, 2020 Approved
.NET Core SDK 3.1.200 5889 Tuesday, March 17, 2020 Approved
.NET Core SDK 3.1.102 20441 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.1.101 88570 Monday, January 20, 2020 Approved
.NET Core SDK 3.1.100 320782 Tuesday, December 3, 2019 Approved
.NET Core SDK 3.1.100-preview3-014645 581 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.103 4578 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.0.102 763 Friday, January 24, 2020 Approved
.NET Core SDK 3.0.101 30745 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.100 69376 Monday, September 23, 2019 Approved
.NET Core SDK 3.0.100-rc1-014190 1249 Tuesday, September 17, 2019 Approved
.NET Core SDK 3.0.100-preview9-014004 2615 Thursday, September 5, 2019 Approved
.NET Core SDK 3.0.100-preview8-013656 3347 Wednesday, August 14, 2019 Approved
.NET Core SDK 3.0.100-preview7-012821 2124 Tuesday, July 23, 2019 Approved
.NET Core SDK 3.0.100-preview6-012264 2178 Wednesday, June 12, 2019 Approved
.NET Core SDK 3.0.100-preview5-011568 1219 Monday, May 6, 2019 Approved
.NET Core SDK 3.0.100-preview4-011223 622 Friday, April 19, 2019 Approved
.NET Core SDK 3.0.100-preview3-010431 833 Thursday, March 7, 2019 Approved
.NET Core SDK 3.0.100-preview-010184 336 Friday, March 1, 2019 Approved
.NET Core SDK 2.2.402 73397 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.2.401 141316 Thursday, July 25, 2019 Approved
.NET Core SDK 2.2.301 8454 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.2.300 18507 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.2.207 7566 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.204 4999 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.2.203 31992 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.2.202 3187 Thursday, April 4, 2019 Approved
.NET Core SDK 2.2.200-preview 558 Friday, December 7, 2018 Approved
.NET Core SDK 2.2.110 2003 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.107 10621 Thursday, May 30, 2019 Approved
.NET Core SDK 2.2.105 7826 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.2.104 110946 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.2.102 14029 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.2.101 5590 Wednesday, January 2, 2019 Approved
.NET Core SDK 2.2.0 16247 Tuesday, December 4, 2018 Approved
.NET Core SDK 2.2.0-preview3 355 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.818 2661 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.817 141 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.816 1115 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.815 293 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.814 188 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.813 420 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.812 238 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.811 1918 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.810 691 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.809 416 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.808 282 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.807 850 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.806 437 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.805 751 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.804 766 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.803 2381 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.802 5279 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.1.801 94526 Thursday, July 25, 2019 Approved
.NET Core SDK 2.1.701 2330 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.1.700 4031 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.1.617 127 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.616 115 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.615 114 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.614 116 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.613 109 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.612 150 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.611 175 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.610 779 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.609 209 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.608 230 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.607 446 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.604 1182 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.1.603 1806 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.1.602 517 Thursday, April 4, 2019 Approved
.NET Core SDK 2.1.526 2857 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.525 110 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.524 155 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.523 178 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.522 111 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.521 114 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.520 162 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.519 171 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.518 170 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.517 166 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.516 156 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.515 205 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.514 317 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.513 504 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.512 1854 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.510 429 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.505 8139 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.1.504 83299 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.1.503 1892 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.1.502 2906 Thursday, January 3, 2019 Approved
.NET Core SDK 2.1.500 6337 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.403 16797 Tuesday, October 2, 2018 Approved
.NET Core SDK 2.1.402 6206 Tuesday, September 11, 2018 Approved
.NET Core SDK 2.1.401 14412 Tuesday, August 21, 2018 Approved
.NET Core SDK 2.1.400 4790 Wednesday, August 15, 2018 Approved
.NET Core SDK 2.1.302 90452 Tuesday, July 10, 2018 Approved
.NET Core SDK 2.1.301 5955 Friday, June 22, 2018 Approved
.NET Core SDK 2.1.300 59229 Wednesday, May 30, 2018 Approved
.NET Core SDK 2.1.300-rc1-008673 470 Wednesday, May 23, 2018 Approved
.NET Core SDK 2.1.300-preview1-008174 772 Tuesday, February 27, 2018 Approved
.NET Core SDK 2.1.202 1639 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.200 26407 Tuesday, May 8, 2018 Approved
.NET Core SDK 2.1.105 25979 Wednesday, April 18, 2018 Approved
.NET Core SDK 2.1.104 9264 Wednesday, April 4, 2018 Approved
.NET Core SDK 2.1.103 1968 Tuesday, March 27, 2018 Approved
.NET Core SDK 2.1.102 2580 Wednesday, March 21, 2018 Approved
.NET Core SDK 2.1.101 2045 Friday, March 16, 2018 Approved
.NET Core SDK 2.1.4 41744 Friday, January 12, 2018 Approved
.NET Core SDK 2.1.3 8297 Friday, December 15, 2017 Approved
.NET Core SDK 2.0.3 40517 Thursday, November 16, 2017 Approved
.NET Core SDK 2.0.2 90095 Wednesday, October 25, 2017 Approved
.NET Core SDK 2.0.0.20170906 22307 Wednesday, September 6, 2017 Approved
.NET Core SDK 2.0.0 34201 Tuesday, August 15, 2017 Approved
.NET Core SDK 1.1.14 6607 Tuesday, May 14, 2019 Approved
.NET Core SDK 1.1.13 336 Tuesday, March 12, 2019 Approved
.NET Core SDK 1.1.12 270 Wednesday, February 13, 2019 Approved
.NET Core SDK 1.1.8 4344 Sunday, March 18, 2018 Approved
.NET Core SDK 1.0.4 1.1.2 22265 Friday, June 30, 2017 Approved
.NET Core SDK 1.0.3 with .NET Core 1.0.4 & 1.1.1 1.1.1.20170508 6116 Monday, May 8, 2017 Approved
.NET Core 1.1.1 SDK - Installer 1.1.1 4336 Thursday, March 9, 2017 Approved
.NET Core 1.1 SDK - Installer 1.1 2227 Friday, December 30, 2016 Approved
.NET Core 1.0.3 SDK - Installer 1.0.3 2984 Friday, December 30, 2016 Approved
.NET Core SDK+CLI (Install) 1.0.0-RC2 1295 Wednesday, May 25, 2016 Exempted

Discussion for the .NET Core SDK Package

Ground Rules:

  • This discussion is only about .NET Core SDK and the .NET Core SDK 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 .NET Core SDK, 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