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,463,896

Downloads of v 3.0.100-preview4-011223:

619

Last Update:

19 Apr 2019

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

dotnetcore admin dotnet .net core sdk cli

.NET Core SDK

This is a prerelease version of .NET Core SDK.

  • 1
  • 2
  • 3

3.0.100-preview4-011223 | Updated: 19 Apr 2019

Downloads:

2,463,896

Downloads of v 3.0.100-preview4-011223:

619

Software Author(s):

  • Microsoft

.NET Core SDK 3.0.100-preview4-011223

This is a prerelease version of .NET Core SDK.

  • 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="'3.0.100-preview4-011223'" --prerelease [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="'3.0.100-preview4-011223'" --prerelease
$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: '3.0.100-preview4-011223'
    source: INTERNAL REPO URL
    state: present
    allow_prerelease: yes

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  '3.0.100-preview4-011223'
  options  '--prerelease'
end

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


cChocoPackageInstaller dotnetcore-sdk
{
    Name        = "dotnetcore-sdk"
    Version     = "3.0.100-preview4-011223"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"
}

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


package { 'dotnetcore-sdk':
  ensure          => '3.0.100-preview4-011223',
  install_options => ['--prerelease'],
  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 19 Apr 2019.

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.visualstudio.microsoft.com/download/pr/e6cdbf31-8b69-4e30-b555-4d4543381c74/bde99c9c84d675e5462759a5d2586ce5/dotnet-sdk-3.0.100-preview4-011223-win-x86.exe'
$checksum   = '784C9621617745CAB5F986E386BAB2CD4E338D706CA06CBD82B4994F5722F8B4909166CE0120BC498F7EA4DB27A0423407F95029C00F21638949AAC1C86D7688'
$url64      = 'https://download.visualstudio.microsoft.com/download/pr/4032ceb5-61cd-495a-ab25-475aa2232f28/7eb614e777d87ef0d49f86be4fc8bbde/dotnet-sdk-3.0.100-preview4-011223-win-x64.exe'
$checksum64 = '13AE848788F1309CB49459823B23E435F0C79829BAB846B2AFEAA42099FB00DC7DA81CA442DF77C20E64DC2F5EDE9096F378279612771D972572857E5E8A2F2A'

$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  = 'SHA512'
  checksum64    = $checksum64
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyuninstall.ps1



$ErrorActionPreference = 'Stop';
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Microsoft .NET Core SDK*'
  fileType      = 'EXE'
  silentArgs    = "/uninstall /quiet"
  validExitCodes= @(0, 3010, 1605, 1614, 1641)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName'] | 
    ?{ -Not $_.WindowsInstaller -eq 1 } # for some reason the SDK is registered twice but picking the EXE instead of MSI here

if ($key.Count -eq 1) {
  $key | % { 
    $file = $_.UninstallString -replace '(?<=".+")\s+.*$', ''
    Write-Output "File: $file"
    $packageArgs['file'] = $file

    Uninstall-ChocolateyPackage @packageArgs
  }
} 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)"}
}



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 16537 Tuesday, November 8, 2022 Approved
.NET Core SDK 3.1.424 13964 Wednesday, October 12, 2022 Approved
.NET Core SDK 3.1.423 12083 Wednesday, September 14, 2022 Approved
.NET Core SDK 3.1.422 13264 Tuesday, August 9, 2022 Approved
.NET Core SDK 3.1.421 11356 Tuesday, July 12, 2022 Approved
.NET Core SDK 3.1.420 11630 Wednesday, June 15, 2022 Approved
.NET Core SDK 3.1.419 13561 Wednesday, May 11, 2022 Approved
.NET Core SDK 3.1.418 10327 Tuesday, April 12, 2022 Approved
.NET Core SDK 3.1.417 15504 Wednesday, March 9, 2022 Approved
.NET Core SDK 3.1.416 34354 Wednesday, December 15, 2021 Approved
.NET Core SDK 3.1.415 12739 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 17635 Tuesday, September 14, 2021 Approved
.NET Core SDK 3.1.412 12466 Wednesday, August 11, 2021 Approved
.NET Core SDK 3.1.411 12459 Tuesday, July 13, 2021 Approved
.NET Core SDK 3.1.410 18620 Tuesday, June 8, 2021 Approved
.NET Core SDK 3.1.409 12372 Tuesday, May 11, 2021 Approved
.NET Core SDK 3.1.408 12715 Wednesday, April 14, 2021 Approved
.NET Core SDK 3.1.407 24467 Tuesday, March 9, 2021 Approved
.NET Core SDK 3.1.406 23463 Tuesday, February 9, 2021 Approved
.NET Core SDK 3.1.405 15188 Tuesday, January 12, 2021 Approved
.NET Core SDK 3.1.404 32921 Tuesday, November 10, 2020 Approved
.NET Core SDK 3.1.403 31177 Tuesday, October 13, 2020 Approved
.NET Core SDK 3.1.402 25573 Tuesday, September 8, 2020 Approved
.NET Core SDK 3.1.401 24382 Tuesday, August 11, 2020 Approved
.NET Core SDK 3.1.302 20418 Tuesday, July 14, 2020 Approved
.NET Core SDK 3.1.301 21743 Tuesday, June 9, 2020 Approved
.NET Core SDK 3.1.300 14483 Tuesday, May 19, 2020 Approved
.NET Core SDK 3.1.202 4395 Friday, May 15, 2020 Approved
.NET Core SDK 3.1.201 40618 Wednesday, March 25, 2020 Approved
.NET Core SDK 3.1.200 5888 Tuesday, March 17, 2020 Approved
.NET Core SDK 3.1.102 20439 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.1.101 88546 Monday, January 20, 2020 Approved
.NET Core SDK 3.1.100 320710 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 4576 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.0.102 762 Friday, January 24, 2020 Approved
.NET Core SDK 3.0.101 30738 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.100 69345 Monday, September 23, 2019 Approved
.NET Core SDK 3.0.100-rc1-014190 1247 Tuesday, September 17, 2019 Approved
.NET Core SDK 3.0.100-preview9-014004 2614 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 1218 Monday, May 6, 2019 Approved
.NET Core SDK 3.0.100-preview4-011223 619 Friday, April 19, 2019 Approved
.NET Core SDK 3.0.100-preview3-010431 832 Thursday, March 7, 2019 Approved
.NET Core SDK 3.0.100-preview-010184 335 Friday, March 1, 2019 Approved
.NET Core SDK 2.2.402 72476 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.2.401 141306 Thursday, July 25, 2019 Approved
.NET Core SDK 2.2.301 8450 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.2.300 18494 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.2.207 7468 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.204 4998 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 2002 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.107 10601 Thursday, May 30, 2019 Approved
.NET Core SDK 2.2.105 7814 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.2.104 110902 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.2.102 14028 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.2.101 5588 Wednesday, January 2, 2019 Approved
.NET Core SDK 2.2.0 16220 Tuesday, December 4, 2018 Approved
.NET Core SDK 2.2.0-preview3 352 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.818 2622 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.817 139 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.816 1088 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.815 289 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.814 188 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.813 414 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.812 236 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.811 1910 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.810 687 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.809 416 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.808 279 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.807 849 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.806 434 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.805 750 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.804 766 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.803 2376 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.802 5235 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.1.801 94521 Thursday, July 25, 2019 Approved
.NET Core SDK 2.1.701 2328 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.1.700 4028 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.1.617 127 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.616 113 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.615 112 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.614 113 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.613 108 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.612 148 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.611 174 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.610 778 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.609 208 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.608 224 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.607 444 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.604 1181 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.1.603 1804 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.1.602 516 Thursday, April 4, 2019 Approved
.NET Core SDK 2.1.526 2854 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.525 110 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.524 153 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.523 177 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.522 110 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.521 114 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.520 159 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 165 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.516 151 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.515 203 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.514 304 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.513 498 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.512 1852 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.510 427 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.505 8137 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.1.504 83295 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.1.503 1877 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.1.502 2895 Thursday, January 3, 2019 Approved
.NET Core SDK 2.1.500 6335 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.403 16708 Tuesday, October 2, 2018 Approved
.NET Core SDK 2.1.402 6206 Tuesday, September 11, 2018 Approved
.NET Core SDK 2.1.401 14411 Tuesday, August 21, 2018 Approved
.NET Core SDK 2.1.400 4789 Wednesday, August 15, 2018 Approved
.NET Core SDK 2.1.302 90444 Tuesday, July 10, 2018 Approved
.NET Core SDK 2.1.301 5955 Friday, June 22, 2018 Approved
.NET Core SDK 2.1.300 59214 Wednesday, May 30, 2018 Approved
.NET Core SDK 2.1.300-rc1-008673 469 Wednesday, May 23, 2018 Approved
.NET Core SDK 2.1.300-preview1-008174 771 Tuesday, February 27, 2018 Approved
.NET Core SDK 2.1.202 1628 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.200 26397 Tuesday, May 8, 2018 Approved
.NET Core SDK 2.1.105 25977 Wednesday, April 18, 2018 Approved
.NET Core SDK 2.1.104 9261 Wednesday, April 4, 2018 Approved
.NET Core SDK 2.1.103 1965 Tuesday, March 27, 2018 Approved
.NET Core SDK 2.1.102 2570 Wednesday, March 21, 2018 Approved
.NET Core SDK 2.1.101 2043 Friday, March 16, 2018 Approved
.NET Core SDK 2.1.4 41741 Friday, January 12, 2018 Approved
.NET Core SDK 2.1.3 8294 Friday, December 15, 2017 Approved
.NET Core SDK 2.0.3 40517 Thursday, November 16, 2017 Approved
.NET Core SDK 2.0.2 90085 Wednesday, October 25, 2017 Approved
.NET Core SDK 2.0.0.20170906 22304 Wednesday, September 6, 2017 Approved
.NET Core SDK 2.0.0 34033 Tuesday, August 15, 2017 Approved
.NET Core SDK 1.1.14 6578 Tuesday, May 14, 2019 Approved
.NET Core SDK 1.1.13 336 Tuesday, March 12, 2019 Approved
.NET Core SDK 1.1.12 269 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 22261 Friday, June 30, 2017 Approved
.NET Core SDK 1.0.3 with .NET Core 1.0.4 & 1.1.1 1.1.1.20170508 6115 Monday, May 8, 2017 Approved
.NET Core 1.1.1 SDK - Installer 1.1.1 4335 Thursday, March 9, 2017 Approved
.NET Core 1.1 SDK - Installer 1.1 2226 Friday, December 30, 2016 Approved
.NET Core 1.0.3 SDK - Installer 1.0.3 2982 Friday, December 30, 2016 Approved
.NET Core SDK+CLI (Install) 1.0.0-RC2 1291 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