You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.NET June 2022 Update - .NET 6.0.6, and .NET Core 3.1.26 #7536
Note: This list refers to the Microsoft-provisioned feeds (packages.microsoft.com) and does not in any way represent direct availability in distros (eg RHEL, Fedora).
Known Issues
If there are any more issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.
Windows Update automatically installed this today and now builds fail:
C:\Program Files\dotnet\sdk\5.0.408\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(125, 5): error NETSDK1145: The Apphost pack is not installed and NuGet package restore is not supported. Upgrade Visual Studio, remove global.json if it specifies a certain SDK version, and uninstall the newer SDK. For more options visit https://aka.ms/targeting-apphost-pack-missing Pack Type:Apphost, Pack directory: C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Host.win-x64, targetframework: netcoreapp3.1, Pack PackageId: Microsoft.NETCore.App.Host.win-x64, Pack Package Version: 3.1.25
Upgrading to Visual Studio 2019 16.11.16 and uninstalling newer .NET SDKs solved the problem.
We have a build pipeline step which is based on mcr.microsoft.com/dotnet/aspnet:6.0-alpine.
At runtime we got an error that a specific culture could not be found any more.
This was probably caused because of an update from alpine3.15 to alpine3.16 where they split up the icu-data
(see release notes).
We fixed it by depending on mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.15.
An alternative would be to also install icu-data-full.
dotnet/sdk#26026 is quite the nasty breaking change: all our TeamCity builds failed (and the workaround of updating the .NET plugin was not enough in our case).
Hello, like @devritter, we had an issue with our software using runtime 6.0.6 and alpine linux 3.16.
We were using docker label "mcr.microsoft.com/dotnet/aspnet:6.0-alpine"
and reverted to "mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.15" supported until 2023-11.
Looking at our builds, it appears that asp.net runtime 6.0.5 with alpine 3.16 worked correctly, but 6.0.6 with alpine 3.16 caused issue. I am unsure what is the underlying bug. We're using aspnetboilerplate as the framework. The translations system would not work anymore.
Installing alpine linux "icu-data-full" package fix our translation problem on image mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.16. Without this, english translation would work but not other language.
It's probably not your problem, but I was looking for bugs in aspnetboilerplate, asp.net and .netcore and found this one with a comment from devritter and so I added on top of it.
Maybe it's a fix for backward compatibility or documentation on your side, on aspnetboilerplate side, on alpinelinux, not sure.
Alpine broke the compatibility by splitting the full package icu into two packages and then having the default installing the minimal version. If they wanted to keep compatible, installing icu should install the full localisation package icu-data-full and not just icu-data-english. I don't think the .net ecosystem will be the only one affected by this change.
@richlander yes/no. I see that DOTNET_SYSTEM_GLOBALIZATION_INVARIANT is set in the base image of asp.net and runtime for amd64 alpine, but regardless I still needed to install the ICU. Perhaps it was a requirement of the underlying stack (aspnetboilerplate) that we use. I checked your link and could not find where it's set for alpine for amd64, but it's still set in the image so it must be hidden somewhere.
Can you share some code that previously worked and now doesn't? Can you also share your Dockerfile? If it's closed-source, you can send it to [email protected].
I have an Azure Pipelines stage that used to work with SDK 3.1.419, but now fails with 3.1.420:
update: Never mind. I can manually install 3.1.419 and still see the problem. Looks like it's associated with the 20220619.1 version of the Ubuntu 20.04 image, although I don't see any relevant-looking updates there.
/opt/hostedtoolcache/dotnet/dotnet tool install --global GitVersion.Tool --version 5.5.0
error NU3028: Package 'GitVersion.Tool 5.5.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
error NU3037: Package 'GitVersion.Tool 5.5.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
It's running on the Azure Pipelines ubuntu-latest VM image. Is this new error possibly related to this update?
Activity
petsuter commentedon Jun 15, 2022
Windows Update automatically installed this today and now builds fail:
Upgrading to Visual Studio 2019 16.11.16 and uninstalling newer .NET SDKs solved the problem.
devritter commentedon Jun 15, 2022
We have a build pipeline step which is based on
mcr.microsoft.com/dotnet/aspnet:6.0-alpine.At runtime we got an error that a specific culture could not be found any more.
This was probably caused because of an update from
alpine3.15toalpine3.16where they split up theicu-data(see release notes).
We fixed it by depending on
mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.15.An alternative would be to also install
icu-data-full.Quite a breaking change for us...
emz00 commentedon Jun 16, 2022
dotnet/sdk#26026 is quite the nasty breaking change: all our TeamCity builds failed (and the workaround of updating the .NET plugin was not enough in our case).
kevgeni commentedon Jun 21, 2022
Hello, like @devritter, we had an issue with our software using runtime 6.0.6 and alpine linux 3.16.
We were using docker label "mcr.microsoft.com/dotnet/aspnet:6.0-alpine"
and reverted to "mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.15" supported until 2023-11.
Looking at our builds, it appears that asp.net runtime 6.0.5 with alpine 3.16 worked correctly, but 6.0.6 with alpine 3.16 caused issue. I am unsure what is the underlying bug. We're using aspnetboilerplate as the framework. The translations system would not work anymore.
dcwhittaker commentedon Jun 21, 2022
Adding @danmoseley @wfurt for visibility, who may also have a perspective on any actions to take.
kevgeni commentedon Jun 21, 2022
Installing alpine linux "icu-data-full" package fix our translation problem on image mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.16. Without this, english translation would work but not other language.
It's probably not your problem, but I was looking for bugs in aspnetboilerplate, asp.net and .netcore and found this one with a comment from devritter and so I added on top of it.
Maybe it's a fix for backward compatibility or documentation on your side, on aspnetboilerplate side, on alpinelinux, not sure.
Alpine broke the compatibility by splitting the full package icu into two packages and then having the default installing the minimal version. If they wanted to keep compatible, installing icu should install the full localisation package icu-data-full and not just icu-data-english. I don't think the .net ecosystem will be the only one affected by this change.
wfurt commentedon Jun 21, 2022
I think we should add the package to our base image so everything just works. cc: @richlander
richlander commentedon Jun 22, 2022
We fixed that Alpine + icu issue already, in the SDK images.
We never installed ICU at all in the runtime images. You are free to install it.
Context: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/6.0/alpine3.16/arm32v7/Dockerfile#L19-L20
You can unset that ENV and then install ICU in your app layer.
Make sense?
@mthalman
kevgeni commentedon Jun 22, 2022
@richlander yes/no. I see that DOTNET_SYSTEM_GLOBALIZATION_INVARIANT is set in the base image of asp.net and runtime for amd64 alpine, but regardless I still needed to install the ICU. Perhaps it was a requirement of the underlying stack (aspnetboilerplate) that we use. I checked your link and could not find where it's set for alpine for amd64, but it's still set in the image so it must be hidden somewhere.
richlander commentedon Jun 22, 2022
Nothing is hidden. It's all open.
This is what you are looking for: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/3.1/alpine3.16/amd64/Dockerfile#L20
I know it says "3.1".
Can you share some code that previously worked and now doesn't? Can you also share your Dockerfile? If it's closed-source, you can send it to [email protected].
pkgw commentedon Jun 23, 2022
I have an Azure Pipelines stage that used to work with SDK 3.1.419, but now fails with 3.1.420:update: Never mind. I can manually install 3.1.419 and still see the problem. Looks like it's associated with the 20220619.1 version of the Ubuntu 20.04 image, although I don't see any relevant-looking updates there.
It's running on the Azure Pipelinesubuntu-latestVM image. Is this new error possibly related to this update?richlander commentedon Jun 24, 2022
I asked for help. Do you see this outside of Azure DevOps?
danmoseley commentedon Jun 24, 2022
Perhaps worth asking on the Ubuntu forums? They should be able to suggest what changed in that build. Perhaps there's a workaround/known issue.
pkgw commentedon Jun 24, 2022
@danmoseley Solved in actions/runner-images#5807 thanks to
@al-cheb— although as I mention there, I totally do not understand the solution!dcwhittaker commentedon Jul 12, 2022
Closed in favor of #7596