.NET Core App 3.x targets require consumers add reference to Microsoft.Bcl.AsyncInterfaces

Description

Currently, any .NET Core 3.x consumer must also manually add a reference to Microsoft.Bcl.AsyncInterfaces. This is because of the target to netcoreapp2.1 in the delivered NuGet package.

netcoreapp2.1 requires and consumes Microsoft.Bcl.AsyncInterfaces (transitively via System.Linq.Async). Therefore, the compiled netcoreapp2.1 binary references this DLL. The netstandard2.1 target doesn't include this requirement. However, NuGet considers the netcoreapp2.1 target to be a closer fit to netcoreapp3.x, and uses that instead of netstandard2.1.

This address this, we should also add a netcoreapp3.0 target.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 8, 2020 at 12:07 PM
Updated April 24, 2020 at 8:06 PM
Resolved April 22, 2020 at 10:37 PM
Instabug