New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Core SDK 2.1.500 with runtime 2.1.6 #2746

Open
xt0rted opened this Issue Nov 15, 2018 · 4 comments

Comments

Projects
None yet
4 participants

@FeodorFitsner FeodorFitsner added this to the next-images-update milestone Nov 15, 2018

@bergmeister

This comment has been minimized.

Copy link

bergmeister commented Nov 26, 2018

Yes, please. Due to the asymmetry of the Ubuntu image having this SDK already (and the old 2.1.403 version being removed) but not the Windows ones, makes it even more difficult to handle. When will the next image update happen @IlyaFinkelshteyn ?

@IlyaFinkelshteyn

This comment has been minimized.

Copy link
Member

IlyaFinkelshteyn commented Nov 29, 2018

@bergmeister sorry for delay with answer. We are doing some datacenter heavy lifting now, which delays image update to at least couple of weeks. Please add a .ps1 script with the following content to the install stage (or add this directly to YAML) as a workaround. It will consume about 2 minutes of your build time though:

Write-Host "Installing .NET Core SDK..." -ForegroundColor Cyan

Write-Host "Downloading..."
$exePath = "$env:TEMP\dotnet-sdk-2.1.500-win-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/cd42f66a-2b6a-4a7a-9e69-0bb4eb5a83a1/0ce246546a0886349d9acf872f4e15a4/dotnet-sdk-2.1.500-win-x64.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait "$exePath" /quiet /norestart
del $exePath

Write-Host "Installed" -ForegroundColor Green


Write-Host "Installing .NET Core runtime..." -ForegroundColor Cyan

Write-Host "Downloading..."
$exePath = "$env:TEMP\dotnet-hosting-2.1.6-win.exe"
(New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/3f674c39-ab51-45c3-a7b8-094d86594fbc/9f7efb24d3486086b2d1f1a8d205a776/dotnet-hosting-2.1.6-win.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait "$exePath" /quiet /norestart
del $exePath

Write-Host "Installed" -ForegroundColor Green
@IlyaFinkelshteyn

This comment has been minimized.

Copy link
Member

IlyaFinkelshteyn commented Dec 4, 2018

Temporary workaround script. Build time cost: 2-3 mins.

Write-Host "Installing .NET Core SDK..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$env:TEMP\dotnet-sdk-2.2.100-win-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/7ae62589-2bc1-412d-a653-5336cff54194/b573c4b135280fb369e671a8f477163a/dotnet-sdk-2.2.100-win-x64.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait "$exePath" /quiet /norestart
del $exePath
Write-Host "Installed" -ForegroundColor Green

Write-Host "Installing .NET Core runtime..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$env:TEMP\dotnet-hosting-2.2.0-win.exe"
(New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/48adfc75-bce7-4621-ae7a-5f3c4cf4fc1f/9a8e07173697581a6ada4bf04c845a05/dotnet-hosting-2.2.0-win.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait "$exePath" /quiet /norestart
del $exePath
Write-Host "Installed" -ForegroundColor Green
@IlyaFinkelshteyn

This comment has been minimized.

Copy link
Member

IlyaFinkelshteyn commented Dec 15, 2018

Installed on Visual Studio 2017 image. Keeping it open but not sure of we need to install it on Visual Studio 2015.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment