Hi Brant, this throws an error
{“Could not load file or assembly ‘Common.Logging.Core, Version=3.3.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”:“Common.Logging.Core, Version=3.3.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e”}
Here is the full code. What am I doing wrong?
Imports System.IO
Imports Couchbase
Imports Couchbase.Core
Imports Couchbase.N1QL
Imports Couchbase.CouchbaseBucket
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim g As Guid
g = Guid.NewGuid()
ClusterHelper.Initialize()
Dim bucket = ClusterHelper.GetBucket("Default")
Dim doc = New Document(Of cbDoc)() With {
.Id = g.ToString,
.Content = New cbDoc() With {
.SSN = "123-45-6789",
.First = "John",
.Middle = "",
.Last = "Smith",
.Addr = "123 Main Street",
.City = "Brooklyn",
.State = "NY",
.ZipCode = "11211"
}
}
Dim result = bucket.Upsert(doc)
End Sub
End Class