Skip to content

System.Runtime.CompilerServices.Unsafe not suppot .NET Core 2.x apps #62561

@WeihanLi

Description

@WeihanLi

Description

When I try to upgrade System.Runtime.CompilerServices.Unsafe package from 5.0.0 to 6.0.0, it seemed the package does not support for .NET Core 2.x apps. Maybe this is by design?

System.Runtime.CompilerServices.Unsafe doesn't support netcoreapp2.1

image

Reproduction Steps

Create a empty .NET Core 2.x app and add package reference for System.Runtime.CompilerServices.Unsafe with 6.0.0 version

Expected behavior

As a library, maybe should support all the targets

Actual behavior

.NET Core app 3.1 and below are not supported

Regression?

No response

Known Workarounds

Downgrade to 5.0.0

Configuration

.NET Core app 2.1/2.2

Other information

No response

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