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

This is a prerelease version of .NET Core tools Preview 2 for Visual Studio 2015.

.NET Core tools Preview 2 for Visual Studio 2015

2.0.3-Preview

Package test results have failed.

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.

.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.

To install .NET Core tools Preview 2 for Visual Studio 2015, run the following command from the command line or from PowerShell:

C:\> choco install dotnetcore-vs --pre

To upgrade .NET Core tools Preview 2 for Visual Studio 2015, run the following command from the command line or from PowerShell:

C:\> choco upgrade dotnetcore-vs --pre

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName= 'dotnetcore-vs'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = 'https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe'
    $url64      = ''
    $params     = '/install /quiet /norestart'
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'EXE'
      url           = $url
      url64bit      = $url64
    
      silentArgs    = $params
      validExitCodes= @(0, 3010, 1641)
    
      softwareName  = 'dotnetcore-vs*'
      checksum      = '03CD219487C542E20116A6733833F6E6A83B317646763E2B6CA210C59DE924AD'
      checksumType  = 'sha256'
      checksum64    = '03CD219487C542E20116A6733833F6E6A83B317646763E2B6CA210C59DE924AD'
      checksumType64= 'sha256'
    }
    
    $installed = $false
    if ($env:chocolateyPackageParameters -match "(?<=/layout )\S+") {
    	$layout = $matches[0]
    	$fileFullPath = Join-Path $layout "DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe"
    
    	if (Test-Path $fileFullPath) {
    		Write-Host "Installing from layout location at: $layout."
    		Install-ChocolateyInstallPackage $packageName "exe" $params $fileFullPath -validExitCodes @(0, 3010)
        		$installed = $true
    	}
      	else {
    		Write-Host "Layout directory specified but installer not found at $fileFullPath, installing from bootstrapper installer."
    	}
    }
    
    if (!$installed) {
      Install-ChocolateyPackage @packageArgs
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'dotnetcore-vs'
    $softwareName = 'dotnetcore-vs*'
    $installerType = 'MSI' 
    
    $silentArgs = '/qn /norestart'
    $validExitCodes = @(0, 3010, 1605, 1614, 1641)
    if ($installerType -ne 'MSI') {
      $validExitCodes = @(0)
    }
    
    $uninstalled = $false
    $local_key     = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
    $machine_key   = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'
    $machine_key6432 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
    
    $key = Get-ItemProperty -Path @($machine_key6432,$machine_key, $local_key) `
                            -ErrorAction SilentlyContinue `
             | ? { $_.DisplayName -like "$softwareName" }
    
    if ($key.Count -eq 1) {
      $key | % { 
        $file = "$($_.UninstallString)"
    
        if ($installerType -eq 'MSI') {
          $silentArgs = "$($_.PSChildName) $silentArgs"
    
          $file = ''
        }
    
        Uninstall-ChocolateyPackage -PackageName $packageName `
                                    -FileType $installerType `
                                    -SilentArgs "$silentArgs" `
                                    -ValidExitCodes $validExitCodes `
                                    -File "$file"
      }
    } elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    } elseif ($key.Count -gt 1) {
      Write-Warning "$key.Count matches found!"
      Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
      Write-Warning "Please alert package maintainer the following keys were matched:"
      $key | % {Write-Warning "- $_.DisplayName"}
    }
    
    
    
    

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

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Microsoft

Copyright

Microsoft

Tags

Release Notes

Preview 2.0.3 with .NET Core 1.0.1

Version History

Version Downloads Last updated Status
.NET Core tools Preview 2 for Visual Studio 2015 2.0.3-Preview 522 Tuesday, May 9, 2017 exempted
.NET Core for Visual Studio (Install) 1.0.0.20160824-Preview201 526 Wednesday, August 24, 2016 exempted
.NET Core for Visual Studio (Install) 1.0.0-Preview2 396 Wednesday, June 29, 2016 exempted

Discussion for the .NET Core tools Preview 2 for Visual Studio 2015 Package

Ground rules:

  • This discussion is only about .NET Core tools Preview 2 for Visual Studio 2015 and the .NET Core tools Preview 2 for Visual Studio 2015 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 .NET Core tools Preview 2 for Visual Studio 2015, 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