csnemes / tracer

Tracing rewriter using Fody
Apache License 2.0
93 stars 26 forks source link

Build with .NET Core 2.2 failed #77

Closed lajtosandras closed 5 years ago

lajtosandras commented 5 years ago

Hi,

I have tried to use Tracer.Log4Net.Fody v2.2 in a .NET Core 2.2 application (both web and console). Building is failed with the message "Fody: The weaver assembly 'Tracer.Fody, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' references an out of date version of Mono.Cecil.dll. Expected strong name token of '1C-A0-91-87-7D-12-CA-03' but got '50-CE-BF-1C-CE-B9-D0-5E'. The weaver needs to update to at least version 3.0 of FodyHelpers."

Moreover, I have tried to download and build the tracer code on my machine, and it is also failing with the same message. I have also tried it on another machine with .NET Core 2.2 and it also failed.

If I add Tracer.Log4Net.Fody v2.1 to my application, it is compiled without errors. So I think there is some change in the 2.2 version which prevents it working with .NET Core 2.2.

lajtosandras commented 5 years ago

Nuget cache clean resolved it.