Skip to content

.NET June 2022 Update - .NET 6.0.6, and .NET Core 3.1.26 #7536

Closed

Description

@dcwhittaker

Release Notes
6.0.6
3.1.26

Please report any issues you find either by responding to this issue, creating a new issue or creating a new issue in one of the following repos:

Distro 6.0.6 3.1.26
Ubuntu 18.04 ✅ ✅
Ubuntu 20.04 ✅ ✅
Ubuntu 22.04 ✅
Centos 7 ✅ ✅
Debian 10 ✅
Debian 11 ✅
Fedora 34 ✅
OpenSUSE 15 ✅ ✅
Oracle ✅ ✅

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.

Activity

  1. pinned this issue on Jun 14, 2022
  2. petsuter commented on Jun 15, 2022

    @petsuter

    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.

  3. devritter commented on Jun 15, 2022

    @devritter

    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.

    Quite a breaking change for us...

  4. emz00 commented on Jun 16, 2022

    @emz00

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

  5. kevgeni commented on Jun 21, 2022

    @kevgeni

    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.

  6. dcwhittaker commented on Jun 21, 2022

    @dcwhittaker
    ContributorAuthor

    Adding @danmoseley @wfurt for visibility, who may also have a perspective on any actions to take.

  7. kevgeni commented on Jun 21, 2022

    @kevgeni

    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.

  8. wfurt commented on Jun 21, 2022

    @wfurt
    Member

    I think we should add the package to our base image so everything just works. cc: @richlander

  9. richlander commented on Jun 22, 2022

    @richlander
    Member

    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

  10. kevgeni commented on Jun 22, 2022

    @kevgeni

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

  11. richlander commented on Jun 22, 2022

    @richlander
    Member

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

  12. pkgw commented on Jun 23, 2022

    @pkgw

    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?

  13. richlander commented on Jun 24, 2022

    @richlander
    Member

    I asked for help. Do you see this outside of Azure DevOps?

  14. danmoseley commented on Jun 24, 2022

    @danmoseley

    Looks like it's associated with the 20220619.1 version of the Ubuntu 20.04 image,

    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.

  15. pkgw commented on Jun 24, 2022

    @pkgw

    @danmoseley Solved in actions/runner-images#5807 thanks to @al-cheb — although as I mention there, I totally do not understand the solution!

  16. dcwhittaker commented on Jul 12, 2022

    @dcwhittaker
    ContributorAuthor

    Closed in favor of #7596

  17. unpinned this issue on Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions