Microsoft .NET Core 2.1 SDK feature update 8

  • 1
  • 2
  • 3

2.1.818 | Updated: 20 Aug 2021

Downloads:

3,560

Downloads of v 2.1.818:

1,059

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Microsoft .NET Core 2.1 SDK feature update 8 2.1.818

  • 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

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

>

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

>

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

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade dotnetcore-2.1-sdk-8xx -y --source="'STEP 3 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-8xx -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure dotnetcore-2.1-sdk-8xx installed
  win_chocolatey:
    name: dotnetcore-2.1-sdk-8xx
    state: present
    version: 2.1.818
    source: STEP 3 URL

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


chocolatey_package 'dotnetcore-2.1-sdk-8xx' do
  action    :install
  version  '2.1.818'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: dotnetcore-2.1-sdk-8xx,
    Version: 2.1.818,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller dotnetcore-2.1-sdk-8xx
{
   Name     = 'dotnetcore-2.1-sdk-8xx'
   Ensure   = 'Present'
   Version  = '2.1.818'
   Source   = 'STEP 3 URL'
}

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


package { 'dotnetcore-2.1-sdk-8xx':
  provider => 'chocolatey',
  ensure   => '2.1.818',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install dotnetcore-2.1-sdk-8xx version="2.1.818" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. 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 as a trusted package on 20 Aug 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-8xx'
    Url = 'https://download.visualstudio.microsoft.com/download/pr/34eb90cf-8de6-4301-9e61-5462b30edf4f/a493989fc106a5a851447ba6b7289ad6/dotnet-sdk-2.1.818-win-x86.exe'
    Checksum = '6f65a05178ac3abf65942bbc91c34784d496e822d69407fc33cd5519ede21ee09ebb5cc91a57dc928abd9c00e9580bf217d6bee2c400436e4625fc852d855f9e'
    ChecksumType = 'sha512'
    Url64 = 'https://download.visualstudio.microsoft.com/download/pr/fdc2c572-1f7f-4d46-b767-dd0951d10865/ad32c09fbef96146ec6b763d0192fba7/dotnet-sdk-2.1.818-win-x64.exe'
    Checksum64 = 'f37af0f1ed01e665866b20a175b4305a5753aa6feb56da57184d06daf7dd51127d41e91f91cd11da23445010513ab20d974d21fb601d0234b5a314d3e3a6169f'
    ChecksumType64 = 'sha512'
    AdditionalArgumentsToInstaller = $null
    SoftwareVersion = '2.1.818'
}

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.

Version Downloads Last Updated Status
Microsoft .NET Core 2.1 SDK feature update 8 2.1.817 203 Wednesday, August 11, 2021 Approved
Microsoft .NET Core 2.1 SDK feature update 8 2.1.816 1195 Tuesday, May 11, 2021 Approved
Microsoft .NET Core 2.1 SDK feature update 8 2.1.815 162 Wednesday, April 14, 2021 Approved
Microsoft .NET Core 2.1 SDK feature update 8 2.1.814 230 Wednesday, March 10, 2021 Approved
Microsoft .NET Core 2.1 SDK feature update 8 2.1.813 165 Wednesday, February 10, 2021 Approved
Microsoft .NET Core 2.1 SDK feature update 8 2.1.812 231 Tuesday, January 12, 2021 Approved
Microsoft .NET Core 2.1 SDK feature update 8 2.1.811 315 Thursday, November 5, 2020 Approved

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

Ground Rules:

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