Microsoft .NET Core 2.1 SDK feature update 6

  • 1
  • 2
  • 3

2.1.617 | Updated: 12 Jan 2021

Downloads:

447

Downloads of v 2.1.617:

388

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Microsoft .NET Core 2.1 SDK feature update 6 2.1.617

  • 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 Microsoft .NET Core 2.1 SDK feature update 6, run the following command from the command line or from PowerShell:

>

To upgrade Microsoft .NET Core 2.1 SDK feature update 6, run the following command from the command line or from PowerShell:

>

To uninstall Microsoft .NET Core 2.1 SDK feature update 6, 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-2.1-sdk-6xx -y --source="'INTERNAL REPO URL'" [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-2.1-sdk-6xx -y --source="'INTERNAL REPO URL'" 
$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-2.1-sdk-6xx
  win_chocolatey:
    name: dotnetcore-2.1-sdk-6xx
    version: '2.1.617'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'dotnetcore-2.1-sdk-6xx' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.1.617'
end

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


cChocoPackageInstaller dotnetcore-2.1-sdk-6xx
{
    Name     = "dotnetcore-2.1-sdk-6xx"
    Version  = "2.1.617"
    Source   = "INTERNAL REPO URL"
}

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


package { 'dotnetcore-2.1-sdk-6xx':
  ensure   => '2.1.617',
  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.

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

This package was approved by moderator flcdrg on 30 Jan 2021.

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\ChocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'
Set-StrictMode -Version 2

$data = & (Join-Path -Path (Split-Path -Path $MyInvocation.MyCommand.Path) -ChildPath data.ps1)

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    fileType       = 'EXE'
    silentArgs     = "/uninstall /quiet /log ""${Env:TEMP}\$($data.PackageName)-$(Get-Date -Format 'yyyyMMddHHmmss').log"""
    validExitCodes = @(0, 3010, 1605, 1614, 1641)
}

# 2.0 has " - " between "SDK" and version, unlike all later releases
# the bitness info is at the end, e.g. "(x64)"
$softwareName  = "Microsoft .NET Core SDK* $($data.SoftwareVersion) (*)"
[array]$keys = Get-UninstallRegistryKey -SoftwareName $softwareName `
    | Where-Object {
        # each SDK install has two entries, one "public", for the WiX Burn package, one hidden, for the underlying MSI
        # we need to use the "public" entry, which is what the user would see in Add/Remove Programs
        # https://docs.microsoft.com/en-us/windows/win32/msi/arpsystemcomponent
        -not $_.SystemComponent -eq 1
    }

# we may have two items here, one for x64, another for x86
$keys | ForEach-Object {
    # "C:\ProgramData\Package Cache\{c4615fd2-6841-49cb-bcd3-a2cd7bd74a85}\dotnet-sdk-2.0.0-win-x64.exe"  /uninstall
    # discard arguments (everyting after closing quote) and strip quotes
    $file = ($_.UninstallString -replace '(?<=".+")\s+.*$', '').Trim('"')
    Write-Verbose "Uninstalling using: $file"

    Uninstall-ChocolateyPackage @packageArgs -File $file
}
tools\ChocolateyInstall.ps1
$ErrorActionPreference = 'Stop'
Set-StrictMode -Version 2

$data = & (Join-Path -Path (Split-Path -Path $MyInvocation.MyCommand.Path) -ChildPath data.ps1)

$arguments = @{
    packageName = $data.PackageName
    silentArgs = "$($data.AdditionalArgumentsToInstaller) /install /quiet /norestart /log ""${Env:TEMP}\$($data.PackageName)-$(Get-Date -Format 'yyyyMMddHHmmss').log"""
    validExitCodes = @(
        0, # success
        3010 # success, restart required
    )
    url = $data.Url
    checksum = $data.Checksum
    checksumType = $data.ChecksumType
}
$arguments64 = @{
    url64 = $data.Url64
    checksum64 = $data.Checksum64
    checksumType64 = $data.ChecksumType64
}

Set-StrictMode -Off
Install-ChocolateyPackage @arguments @arguments64
tools\data.ps1
@{
    PackageName = 'dotnetcore-2.1-sdk-6xx'
    Url = 'https://download.visualstudio.microsoft.com/download/pr/e4d0b9dc-cf61-4233-988f-48a8ce0cd3a1/f4fd46d0d0264ca48db87bb41d1c45ba/dotnet-sdk-2.1.617-win-x86.exe'
    Checksum = 'ad8967079eb136a18585a88ce47e9009fe01c604dff9eeb5a032a357e050013e85d872cd77496773e4d09e8922aa3212fbfea0bcb67d29664be83cfab23c3f69'
    ChecksumType = 'sha512'
    Url64 = 'https://download.visualstudio.microsoft.com/download/pr/d9cb7763-359d-4611-862d-51a76fcf01d9/ff95e55df079056e0fb8afefdb1d7cca/dotnet-sdk-2.1.617-win-x64.exe'
    Checksum64 = '11565aa25db68d41f8a30f4ba38cd83c663704688688bdc803e1e83cb1519fc8cc305b1dfed3f6409fb00aae91ad1b851feb4884f2457aa159440ef74dbe7759'
    ChecksumType64 = 'sha512'
    AdditionalArgumentsToInstaller = $null
    SoftwareVersion = '2.1.617'
}

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
Microsoft .NET Core 2.1 SDK feature update 6 2.1.616 59 Thursday, November 5, 2020 Approved

Discussion for the Microsoft .NET Core 2.1 SDK feature update 6 Package

Ground Rules:

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