.NET Core SDK 2.2.202 is missing from releases.csv and Docker images.
https://github.com/dotnet/core/blob/master/release-notes/releases.csv
When will it be updated and uploaded?
v1 releases.json and release.csv are deprecated and will no longer be maintained. https://github.com/dotnet/announcements/issues/87.
@MichaelSimons for the Docker plan
@leecow Ah yes, I didn't realise it had changed in the Azure Pipeline task:
Could not fetch download information for version 2.2.202. Please check if the version specified is correct. You can refer the link for supported versions => https://github.com/dotnet/core/blob/master/release-notes/releases.json.
It's a shame the CSV is going away, it's a more human readable list of available versions - I've been using it as a reference and to validate build steps for a while.
@MichaelSimons Is there an ETA for getting Docker images available?
Update: the reason this is an odd issue is that we have one build that worked - using an ADO Hosted Agent, and one build that doesn't work, using a privately Hosted Agent.
This also broke my CI pipeline, not sure what to do about it.
Could not fetch download information for version 2.2.202. Please check if the version specified is correct. You can refer the link for supported versions => https://github.com/dotnet/core/blob/master/release-notes/releases.json.
@kieronlanning - can you let me know where you saw this error? Needs to be updated to the new json location.
@leecow It was in an Azure DevOps YAML Pipeline task - DockerCompose@0 - where there is a multistage build happening against the image microsoft/dotnet:2.2-sdk.
tep 17/26 : RUN dotnet build "API.csproj" -c Release -o /app -v quiet
---> Running in 81d5cde290aa
A compatible SDK version for global.json version: [2.2.202] from [/src/global.json] was not found‌
Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
Service 'api' failed to build: The command '/bin/sh -c dotnet build "API.csproj" -c Release -o /app -v quiet' returned a non-zero code: 145‌
##[error]Building api
##[error]Service 'api' failed to build: The command '/bin/sh -c dotnet build "API.csproj" -c Release -o /app -v quiet' returned a non-zero code: 145
##[error]/usr/local/bin/docker-compose failed with return code: 1
There is any news on when these images will be available on Docker Hub? // @MichaelSimons
Docker images were available same day as the release - https://github.com/dotnet/dotnet-docker/pull/1029.
@kieronlanning - did you re-pull to ensure you have the latest image?
PS D:\repos\dotnet-docker> docker pull microsoft/dotnet:2.2-sdk
2.2-sdk: Pulling from microsoft/dotnet
Digest: sha256:53120cd235bcd62d20001033b8d1e587cd903384c98c5183569b6d92b634848e
Status: Downloaded newer image for microsoft/dotnet:2.2-sdk
PS D:\repos\dotnet-docker> docker run -it --rm microsoft/dotnet:2.2-sdk dotnet --version
2.2.202
@MichaelSimons That's very strange. They're not showing here: https://hub.docker.com/_/microsoft-dotnet-core-sdk/
Latest is 2.2.105, and if I try and build (global.json and Docker) both fail that they can't find that version.
@kieronlanning - FYI - the issue with Docker Hub being out of date has been resolved.
I'm not following what you mean by the following, can you explain?
Latest is 2.2.105, and if I try and build (global.json and Docker) both fail that they can't find that version.
@MichaelSimons Thanks for updating Docker, builds are now working.
Sorry - I mis-quoted myself. We had the .NET Core SDK Install YAML Pipeline Task and it _was_ failing to find the 2.2.202 SDK. When we changed it back to 2.2.105, it worked.
When we ran it on a public hosted agent, it worked. On a private one it failed. This was repeatable until Monday evening (yesterday), and it's now finding it - zero changes from us.
Closing as Docker Hub has been updated.
Most helpful comment
This also broke my CI pipeline, not sure what to do about it.