Hi I am trying to use White from NuGet.
I have added package White 0.2.0 from the NuGet package manager. It all got installed and added to my project OK, along with all it's dependencies - Bricks, Castle, log4net etc.
All build fine.
However, at runtime I get an assembly load exception:
Could not load file or assembly 'log4net, Version=184.108.40.206, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
Looking at the version of log4net referenced by the White.Core assembly, it's version 220.127.116.11 as is appearing in that error above.
However it has loaded log4net v18.104.22.168 into my project.
I tried a simple assembly binding redirect to try and get it to load 22.214.171.124 when an older version was requested:
<assemblyIdentity name="log4net" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-126.96.36.199" newVersion="188.8.131.52" />
However this didn't work.
On closer inspection it seems that log4net 184.108.40.206 has a DIFFERENT public key that 220.127.116.11!
Has anyone come across this problem?
Any ideas on a nice way to solve it?
Anyone successfully using White via NuGet???