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

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

.NET Core SDK

2.1.602

Package test results are passing.

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 4/4/2019.

.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

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

C:\> choco install dotnetcore-sdk --version 2.1.602

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

C:\> choco upgrade dotnetcore-sdk --version 2.1.602

Files

Hide
  • tools\chocolateyuninstall.ps1 Show
    
    $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)"}
    }
    
    
    
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName= 'dotnetcore-sdk'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = 'https://download.visualstudio.microsoft.com/download/pr/a5b082f9-8c7d-431e-b8ef-9cc2c7c7b857/b82834ba428303c60827e1ffe5c37ea8/dotnet-sdk-2.1.602-win-x86.exe'
    $checksum   = 'A478F137F753081D08C1F74AD302C01EF6D615025F8B437584F579E79303DBFD0AB9A7491BCAF4A3E963921035F97A54092819F89B70475966590DCF38DB04DB'
    $url64      = 'https://download.visualstudio.microsoft.com/download/pr/c21075f6-2ed9-4e19-92cc-866a086cb82a/820eaddfcb71e3eaf8d6590904297b44/dotnet-sdk-2.1.602-win-x64.exe'
    $checksum64 = '7B78E2E754FF0B66B16701494B63AD8847E38D77EE9CE99D6F82C3F3AB33A304D4AB2DFE2B3EE08BE2BA6AE0E655C180F46B747F3F00D34A8EAC58300CBBC4FD'
    
    $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
    

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

Copyright

.NET Foundation

Tags

Release Notes

https://github.com/dotnet/core/blob/master/release-notes/

Version History

Version Downloads Last updated Status
.NET Core SDK 3.0.100-preview5-011568 326 Monday, May 6, 2019 approved
.NET Core SDK 3.0.100-preview4-011223 356 Friday, April 19, 2019 approved
.NET Core SDK 3.0.100-preview3-010431 576 Thursday, March 7, 2019 approved
.NET Core SDK 3.0.100-preview-010184 65 Friday, March 1, 2019 approved
.NET Core SDK 2.2.204 2944 Tuesday, May 14, 2019 approved
.NET Core SDK 2.2.203 8338 Wednesday, April 10, 2019 approved
.NET Core SDK 2.2.202 2642 Thursday, April 4, 2019 approved
.NET Core SDK 2.2.200-preview 349 Friday, December 7, 2018 approved
.NET Core SDK 2.2.105 3669 Tuesday, March 12, 2019 approved
Show More

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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok