Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2460

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • library
    • None
    • 1

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty