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

Can't build on macos with dotnet core 3.1.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • backlog-3.0
    • 3.0.1
    • library
    • None
    • 1

    Description

      Trying to build the client with dotnet 3.1.3 on mac and running into

      Core/Logging/LogRedactionTests.cs(20,13): warning xUnit2003: Do not use Assert.Equal() to check for null value. [/Users/charlesdixon/dev/couchbase-net-client/tests/Couchbase.UnitTests/Couchbase.UnitTests.csproj]
      DataStructures/PersistentDictionary.cs(107,21): error CS8767: Nullability of reference types in type of parameter 'value' of 'bool PersistentDictionary<TValue>.TryGetValue(string key, out TValue value)' doesn't match implicitly implemented member 'bool IDictionary<string, TValue>.TryGetValue(string key, out TValue value)' (possibly because of nullability attributes). [/Users/charlesdixon/dev/couchbase-net-client/src/Couchbase/Couchbase.csproj]
      DataStructures/PersistentDictionary.cs(107,21): error CS8767: Nullability of reference types in type of parameter 'value' of 'bool PersistentDictionary<TValue>.TryGetValue(string key, out TValue value)' doesn't match implicitly implemented member 'bool IDictionary<string, TValue>.TryGetValue(string key, out TValue value)' (possibly because of nullability attributes). [/Users/charlesdixon/dev/couchbase-net-client/src/Couchbase/Couchbase.csproj]
      DataStructures/PersistentDictionary.cs(107,21): error CS8767: Nullability of reference types in type of parameter 'value' of 'bool PersistentDictionary<TValue>.TryGetValue(string key, out TValue value)' doesn't match implicitly implemented member 'bool IDictionary<string, TValue>.TryGetValue(string key, out TValue value)' (possibly because of nullability attributes). [/Users/charlesdixon/dev/couchbase-net-client/src/Couchbase/Couchbase.csproj]
      {{ 1 Warning(s)}}
      {{ 3 Error(s)}}

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            charles.dixon Charles Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty