Hello All,
I'm currently building an application that's targeting a few different framework versions, including .net 4.5.2. (we're stuck with this for a little while on that project).
We are getting this odd build issue when targetting version beta0005 of SixLabors.ImageSharp, which references SicLabors.Core version beta0006.
The issue is that when running under .net 4.5.2 (this may happen elsewhere too), we get the following error:
Exception has been thrown by the target of an invocation. There was an error trying to auto-sign the label file. The type initializer for 'SixLabors.ImageSharp.Configuration' threw an exception. Could not load file or assembly 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
The version being loaded of System.Buffers is 4.0.3.0 and not 4.0.2.0, which is why things fail. If we copy 4.0.2.0 back in, everything seems to work just fine again.
I reverted back to beta4 (which uses beta5 of core), and things are working again, everything is pointing back to the right versions.
Any idea why this is happening?
Thanks!