Enyim.Caching.Log4netAdapter mismatch with Enyim.Caching (sdk v1.2.9)


#1

This was originally posted for 1.2.7
http://www.couchbase.com/communities/q-and-a/enyimlog4netadapter-mismatch

…but I still see this issue in 1.2.9. Here is the output from IL DASM. you’ll notice it’s still referencing 1.2.7 for Enyim.Caching. I tried both the zip and NuGet versions.

// Metadata version: v4.0.30319
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4…
.ver 4:0:0:0
}
.assembly extern Enyim.Caching
{
.publickeytoken = (05 E9 C6 B5 A9 EC 94 C2 )
.ver 1:2:7:0
}
.assembly extern log4net
{
.publickeytoken = (66 9E 0D DF 0B B1 AA 2A ) // f…*
.ver 1:2:11:0
}
.assembly Enyim.Caching.Log4NetAdapter
{
.custom instance void [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = (


#2

If you’ve downloaded it NOT from nuget, try to do it. I had same issue with 1.2.7. Bundeled version of logger in zip archive was incorrect. But even when I replaced it from correct version from nuget, logs not started working for me…


#3

This will be fixed in 1.3.0: https://www.couchbase.com/issues/browse/NCBC-300