Downloads:

32,020

Downloads of v 5.0.104:

1,490

Last Update:

10 Mar 2021

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

microsoft .net core runtime redistributable sdk cli admin

Microsoft .NET 5.0 SDK feature update 1

  • 1
  • 2
  • 3

5.0.104 | Updated: 10 Mar 2021

Downloads:

32,020

Downloads of v 5.0.104:

1,490

Software Author(s):

  • Microsoft

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

  • 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 1, run the following command from the command line or from PowerShell:

>

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

>

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

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


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

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


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

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


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

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


package { 'dotnet-5.0-sdk-1xx':
  provider => 'chocolatey',
  ensure   => '5.0.104',
  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-1xx version="5.0.104" 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 13 Mar 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-1xx'
    Url = 'https://download.visualstudio.microsoft.com/download/pr/e0a0f0bb-a0ce-4ec4-aa15-5484283d4023/bfce94f5bc619058e526202a58152302/dotnet-sdk-5.0.104-win-x86.exe'
    Checksum = '552ee46b6106ee452f6934179fe3ab4580c92f4475e7ae19d479b9177e5d877f64e5fb8084ce3b1f6277a99015d019bbeac51aa80e05d5a951e3c2b398271f4a'
    ChecksumType = 'sha512'
    Url64 = 'https://download.visualstudio.microsoft.com/download/pr/3f1f2425-27c3-4c0b-9a29-bf39c36d9c41/f43db159d3fe108c15eb997fe138b577/dotnet-sdk-5.0.104-win-x64.exe'
    Checksum64 = '941676b2c48e1128167df614f10b5727a78bb79713c3de5afc599f982f8b12344bbbbb5dd84ed691b17e022090a15924945dbd6759eeb5a2792537a44690cbbf'
    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 1 5.0.103 3060 Wednesday, February 10, 2021 Approved
Microsoft .NET 5.0 SDK feature update 1 5.0.102 4256 Tuesday, January 12, 2021 Approved
Microsoft .NET 5.0 SDK feature update 1 5.0.101 2227 Wednesday, December 9, 2020 Approved
Microsoft .NET 5.0 SDK feature update 1 5.0.100 20948 Tuesday, November 10, 2020 Approved
Microsoft .NET 5.0 SDK feature update 1 5.0.100-rc22047915 39 Thursday, November 5, 2020 Exempted

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

Ground Rules:

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