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

System.IO.FileNotFoundException on linux dotnet

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.4.0
    • 2.4.0-dp3
    • None
    • None

    Description

      Running SdkdConsole.NetStandard which links Couchbase.NetStandard for .NET Core on linux causes System.IO.FileNotFoundException at Couchbase.Configuration.Client.ClientConfiguration

      Here is call stack.

      Exception System.TypeInitializationException: The type initializer for 'Couchbase.Configuration.Client.ClientConfiguration' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=1.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

      at Couchbase.Logging.LogManager.GetLogger(Type type)
      at Couchbase.Logging.LogManager.GetLogger[T]()
      at Couchbase.Configuration.Client.ClientConfiguration..cctor()
      — End of inner exception stack trace —
      at Couchbase.Configuration.Client.ClientConfiguration..ctor()
      at Sdkd.Client.ClientFactory.MakeConfig(JObject jObj)
      at SdkdConsole.Daemon.Handle.Run()

       

      Attachments

        Activity

          People

            jmorris Jeff Morris
            jaekwon.park Jae Park [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty