Downloads:

86,921

Downloads of v 5.0.207:

668

Last Update:

15 Sep 2021

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

microsoft .net core runtime redistributable sdk cli admin

Microsoft .NET 5.0 SDK feature update 2

  • 1
  • 2
  • 3

5.0.207 | Updated: 15 Sep 2021

Downloads:

86,921

Downloads of v 5.0.207:

668

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Microsoft .NET 5.0 SDK feature update 2 5.0.207

  • 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 5.0 SDK feature update 2, run the following command from the command line or from PowerShell:

>

To upgrade Microsoft .NET 5.0 SDK feature update 2, run the following command from the command line or from PowerShell:

>

To uninstall Microsoft .NET 5.0 SDK feature update 2, 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 dotnet-5.0-sdk-2xx -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 dotnet-5.0-sdk-2xx -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 dotnet-5.0-sdk-2xx installed
  win_chocolatey:
    name: dotnet-5.0-sdk-2xx
    state: present
    version: 5.0.207
    source: STEP 3 URL

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


chocolatey_package 'dotnet-5.0-sdk-2xx' do
  action    :install
  version  '5.0.207'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: dotnet-5.0-sdk-2xx,
    Version: 5.0.207,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller dotnet-5.0-sdk-2xx
{
   Name     = 'dotnet-5.0-sdk-2xx'
   Ensure   = 'Present'
   Version  = '5.0.207'
   Source   = 'STEP 3 URL'
}

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


package { 'dotnet-5.0-sdk-2xx':
  provider => 'chocolatey',
  ensure   => '5.0.207',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install dotnet-5.0-sdk-2xx version="5.0.207" 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 15 Sep 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 applications.


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 = 'dotnet-5.0-sdk-2xx'
    Url = 'https://download.visualstudio.microsoft.com/download/pr/d8759622-7db9-455e-8c85-dcd91fbe501c/18c84a56aed541d3b2a2e2ba99e11b7f/dotnet-sdk-5.0.207-win-x86.exe'
    Checksum = 'bf9d8be546eca5453393f352a9604d753ff05331f3d73b9fa3a5e84798f6309b08d2d46180ad5eb78a23d190cae0d14a2677e3153b6d86c4aba84c10bc228dd6'
    ChecksumType = 'sha512'
    Url64 = 'https://download.visualstudio.microsoft.com/download/pr/c93eccd7-15ce-4c16-9f67-5165a0646768/6b2e2425432b24d7e5d0d9f58325198e/dotnet-sdk-5.0.207-win-x64.exe'
    Checksum64 = '7ceced8c4dbe49160086de74a6496497012a1c04bdedab6ed07bf8db8ec6d4910911b50c03ccf87807d0766b856ab74a3dd46b10f52fd6127b3f580e519da7db'
    ChecksumType64 = 'sha512'
    AdditionalArgumentsToInstaller = $null
}

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 5.0 SDK feature update 2 5.0.206 934 Wednesday, August 11, 2021 Approved
Microsoft .NET 5.0 SDK feature update 2 5.0.205 987 Tuesday, July 13, 2021 Approved
Microsoft .NET 5.0 SDK feature update 2 5.0.204 1134 Tuesday, June 8, 2021 Approved
Microsoft .NET 5.0 SDK feature update 2 5.0.203 3714 Tuesday, May 11, 2021 Approved
Microsoft .NET 5.0 SDK feature update 2 5.0.202 5414 Wednesday, April 7, 2021 Approved
Microsoft .NET 5.0 SDK feature update 2 5.0.201 72201 Friday, March 12, 2021 Approved
Microsoft .NET 5.0 SDK feature update 2 5.0.200 1869 Thursday, March 4, 2021 Approved

Discussion for the Microsoft .NET 5.0 SDK feature update 2 Package

Ground Rules:

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