Skip to content

.NET May 2022 Update - .NET 6.0.5, .NET 5.0.17, and .NET Core 3.1.25 #7447

Closed

Description

@rbhanda

Release Notes
6.0.5
5.0.17
3.1.25

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.5 5.0.17 3.1.25
Ubuntu 18.04 ✅ ✅ ✅
Ubuntu 20.04 ✅ ✅ ✅
Ubuntu 21.04 ✅ ✅ ✅
Centos 7 ✅ ✅ ✅
Debian 10 ✅ ✅ ✅
Debian 11 ✅ ✅ ✅
Fedora 33 ✅ ✅ ✅
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. changed the title [-].NET April 2022 Update - .NET 6.0.5, .NET 5.0.17, and .NET Core 3.1.25[/-] [+].NET May 2022 Update - .NET 6.0.5, .NET 5.0.17, and .NET Core 3.1.25[/+] on May 10, 2022
  2. pinned this issue on May 10, 2022
  3. edwiles commented on May 11, 2022

    @edwiles

    Our builds are returning extra code analysis violations since upgrading to .NET Core 6.0.5 (i.e. SDK 6.0.300). These warnings are not present in SDK 6.0.203.

    e.g. The line List<string> a = new(b.C); now returns warning IDE0028: Collection initialization can be simplified

    e.g. The line var a = new B { C = d, E = new F { G = 100 } }; now returns warning IDE0017: Object initialization can be simplified

  4. bmilsom commented on May 11, 2022

    @bmilsom

    Hello,

    We have some CI/CD builds which have started failing after the release of dotnet 6.0.300 which seems to be related to central package management.

    The error we are getting is:
    error NU1507: There are 2 package sources defined in your configuration. When using central package management, please map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source.

    Yesterday this was not a problem (with version 6.0.202), and after investigation we found that our builds started working again when specifying verison 6.0.202 to be installed. We are using the actions/setup-dotnet@v2 action to achieve this. Previously we installed the latest dotnet in our workflow yml files like so:

      uses: actions/setup-dotnet@v2
      with:
        dotnet-version: |
          3.1.x
          5.0.x
          6.0.x
    

    but we have reverted it like this for now:

      uses: actions/setup-dotnet@v2
      with:
        dotnet-version: |
          3.1.x
          5.0.x
          6.0.202
    

    These are running on the ubuntu-latest GitHub runners.

  5. jaredpar commented on May 11, 2022

    @jaredpar
    Member
  6. yophilav commented on May 11, 2022

    @yophilav

    Release Notes 6.0.5 5.0.17 3.1.25

    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.5 5.0.17 3.1.25
    Ubuntu 18.04
    Ubuntu 20.04
    Ubuntu 21.04
    Centos 7
    Debian 10
    Debian 11
    Fedora 33
    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.

    @rbhanda
    Could you update the link for 3.1.25 please?
    The link for 3.1.25 doesn't work.
    I think there is a typo in the url https://github.com/dotnet/core/blob/main/release-notes/3. "0" /3.1.25/3.1.25.md

  7. dstahl-axion commented on May 17, 2022

    @dstahl-axion

    I'm seeing some new failures as well.

    I have a project with the following PropertyGroup in the .csproj file.

      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
        <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
      </PropertyGroup>

    When I run dotnet restore on this project, a warning about conflicting Nuget packages is being treated as an error and failing. This did not happen in the 6.0.202 SDK but does happen in 6.0.300. Were there changes to how configurations are handled during dotnet restore?

    The specific warning/error is NU1701 and it's happening because a package is being restored as net461 for a netstandard project. I'm working to fix that, but this warning/error/failure did not happen on a previous SDK so I'm reporting it here.

  8. hasan-akgun-sveasolar commented on May 20, 2022

    @hasan-akgun-sveasolar

    Seems like MSBuildTreatWarningsAsErrors and TreatWarningsAsErrors were working/handling differently and enabling TreatWarningsAsErrors didn't have any effect on MSBuild warnings, now it has.

  9. dcwhittaker commented on Jun 14, 2022

    @dcwhittaker
    Contributor

    Closing in favor of #7536

  10. unpinned this issue on Jun 14, 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