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

This is not the latest version of Microsoft .NET Core Runtime (Install) available.

Microsoft .NET Core Runtime (Install)

2.1.0

Package test results are passing.

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

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

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

This package was approved as a trusted package on 5/30/2018.

.NET Core is a general purpose development platform maintained by Microsoft and the .NET community on GitHub. It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.

This package is required to run console applications with the .NET Core runtime. The .NET Core Runtime is installed machine-wide, using a native installer.

.NET Core supports Windows 7 SP1 / Server 2008 R2 or later. On Windows 7 / Server 2008 R2, security update KB2533623 must be installed, according to documented system requirements.

The package supports the following parameters (--package-parameters, --params):

  • Quiet - suppress display of native installer progress window (may be needed on Server Core)

Example: cinst -y --params="Quiet" dotnetcore-runtime.install

To install Microsoft .NET Core Runtime (Install), run the following command from the command line or from PowerShell:

C:\> choco install dotnetcore-runtime.install --version 2.1.0

To upgrade Microsoft .NET Core Runtime (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade dotnetcore-runtime.install --version 2.1.0

Files

Hide
  • tools\ChocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    Set-StrictMode -Version 2
    
    $data = & (Join-Path -Path (Split-Path -Path $MyInvocation.MyCommand.Path) -ChildPath data.ps1)
    
    function Test-QuietRequested
    {
        return $Env:chocolateyPackageParameters -like '*Quiet*'
    }
    
    function Get-PassiveOrQuietArgument
    {
        [CmdletBinding()]
        Param (
            [string] $Scenario = 'installation'
        )
        if (Test-QuietRequested) {
            Write-Verbose "Performing a quiet $Scenario, as requested."
            $passiveOrQuiet = 'quiet'
        } else {
            Write-Verbose "Performing an $Scenario with visible progress window (default)."
            $passiveOrQuiet = 'passive'
        }
        return $passiveOrQuiet
    }
    
    $passiveOrQuiet = Get-PassiveOrQuietArgument -Scenario 'installation'
    $arguments = @{
        packageName = $data.PackageName
        silentArgs = "$($data.AdditionalArgumentsToInstaller) /install /$passiveOrQuiet /norestart /log ""${Env:TEMP}\$($data.PackageName).log"""
        validExitCodes = @(
            0, # success
            3010 # success, restart required
        )
        url = $data.Url
        checksum = $data.Checksum
        checksumType = $data.ChecksumType
        url64 = $data.Url64
        checksum64 = $data.Checksum64
        checksumType64 = $data.ChecksumType64
    }
    
    Install-ChocolateyPackage @arguments
    
  • tools\ChocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    Set-StrictMode -Version 2
    
    $data = & (Join-Path -Path (Split-Path -Path $MyInvocation.MyCommand.Path) -ChildPath data.ps1)
    
    function Uninstall-ApplicationPackage
    {
        [CmdletBinding()]
        param(
          [string] $PackageName,
          [string] $ApplicationName,
          [string] $UninstallerName,
          [string] $ArgumentsToUninstaller,
          [int[]] $ValidExitCodes
        )
    
        $informMaintainer = "Please report this to the maintainer of this package ($PackageName)."
        Set-StrictMode -Off
        $unfilteredUninstallKeys = Get-UninstallRegistryKey -SoftwareName $ApplicationName
        Set-StrictMode -Version 2
        $uninstallKey = $unfilteredUninstallKeys | Where-Object { $_ -ne $null -and ($_.PSObject.Properties['SystemComponent'] -eq $null -or $_.SystemComponent -ne 1) }
        $count = ($uninstallKey | Measure-Object).Count
        Write-Debug "Found $count Uninstall key(s)"
        if ($count -eq 0)
        {
            Write-Warning "Uninstall information for $ApplicationName could not be found. This probably means the application was uninstalled outside Chocolatey."
            return
        }
        if ($count -gt 1)
        {
            throw "More than one Uninstall key found for $ApplicationName! $informMaintainer"
        }
    
        $uninstallKey = $uninstallKey | Select-Object -First 1
        # in PS 2.0, casting to [array] done inside Get-UninstallRegistryKey strips the PS* properties
        if ($uninstallKey.PSObject.Properties['PSPath'] -ne $null)
        {
            Write-Debug "Using Uninstall key: $($uninstallKey.PSPath)"
        }
        $uninstallString = $uninstallKey.UninstallString
        Write-Debug "UninstallString: $uninstallString"
        if (-not ($uninstallString -match '^\s*(\"[^\"]+\")|([^\s]+)'))
        {
            throw "UninstallString '$uninstallString' is not of the expected format. $informMaintainer"
        }
        $uninstallerPath = $matches[0].Trim('"')
        Write-Debug "uninstallerPath: $uninstallerPath"
        if ((Split-Path -Path $uninstallerPath -Leaf) -notlike $UninstallerName)
        {
            throw "The uninstaller file name is unexpected (uninstallerPath: $uninstallerPath). $informMaintainer"
        }
    
        $arguments = @{
            PackageName = $PackageName
            FileType = 'exe'
            SilentArgs = $ArgumentsToUninstaller
            ValidExitCodes = $ValidExitCodes
            File = $uninstallerPath
        }
        $argumentsDump = ($arguments.GetEnumerator() | % { '-{0}:''{1}''' -f $_.Key,"$($_.Value)" }) -join ' '
        Write-Debug "Uninstall-ChocolateyPackage $argumentsDump"
        Uninstall-ChocolateyPackage @arguments
    }
    
    function Test-QuietRequested
    {
        return $Env:chocolateyPackageParameters -like '*Quiet*'
    }
    
    function Get-PassiveOrQuietArgument
    {
        [CmdletBinding()]
        Param (
            [string] $Scenario = 'installation'
        )
        if (Test-QuietRequested) {
            Write-Verbose "Performing a quiet $Scenario, as requested."
            $passiveOrQuiet = 'quiet'
        } else {
            Write-Verbose "Performing an $Scenario with visible progress window (default)."
            $passiveOrQuiet = 'passive'
        }
        return $passiveOrQuiet
    }
    
    $passiveOrQuiet = Get-PassiveOrQuietArgument -Scenario 'uninstallation'
    $arguments = @{
        PackageName = $data.PackageName
        ApplicationName = $data.ApplicationName
        UninstallerName = $data.UninstallerName
        ArgumentsToUninstaller = "/uninstall /$passiveOrQuiet /norestart /log ""${Env:TEMP}\$($data.PackageName)_uninstall.log"""
        ValidExitCodes = @(
            0, # success
            3010 # success, restart required
        )
    }
    
    Uninstall-ApplicationPackage @arguments
    
  • tools\data.ps1 Show
    @{
        PackageName = 'dotnetcore-runtime.install'
        Version = '2.0.6'
        Url = 'https://download.microsoft.com/download/9/1/7/917308D9-6C92-4DA5-B4B1-B4A19451E2D2/dotnet-runtime-2.1.0-win-x86.exe'
        Checksum = '7894e33971fe6a56a9ee6cb628cdcc6a51c56bc9176abf4c61ca8f5180b33ed459615668fea6447856dbefe4473b182a7af2601c2bd7f3ee715663ddc24f2772'
        ChecksumType = 'sha512'
        Url64 = 'https://download.microsoft.com/download/9/1/7/917308D9-6C92-4DA5-B4B1-B4A19451E2D2/dotnet-runtime-2.1.0-win-x64.exe'
        Checksum64 = 'ec23c90c95d8501b05b87c42cdd189174f7c2ee8891196ee595f31e209e2670625e6b0b30d019cb09fbf4e3f17b20c9669ca63b5082cc6f8e547802eed9fffbc'
        ChecksumType64 = 'sha512'
        ApplicationName = 'Microsoft .NET Core Runtime - 2.0.6 *'
        UninstallerName = 'dotnet-runtime-*.exe'
        AdditionalArgumentsToInstaller = $null
    }
    

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 and Contributors

Tags

Release Notes

Software

.NET Core Release Notes

Package

Initial package release for software version 2.0.6.

Version History

Version Downloads Last updated Status
Microsoft .NET Core Runtime (Install) 2.2.0-preview3 6 Thursday, November 15, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.5 6821 Tuesday, October 2, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.4 4254 Tuesday, September 11, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.3 4067 Tuesday, August 21, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.2 7358 Tuesday, July 10, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.1 2066 Friday, June 22, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.0 2542 Wednesday, May 30, 2018 approved
Microsoft .NET Core Runtime (Install) 2.1.0-rc1 143 Tuesday, May 8, 2018 approved
Show More

Discussion for the Microsoft .NET Core Runtime (Install) Package

Ground rules:

  • This discussion is only about Microsoft .NET Core Runtime (Install) and the Microsoft .NET Core Runtime (Install) 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 Runtime (Install), 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