I'm getting the following error:
Assembly 'Jenkins.Core, Version=2.1.2.22051, Culture=neutral, PublicKeyToken=2f531e0c1c11a32b' uses 'Jenkins.Domain, Version=2.1.1.22051, Culture=neutral, PublicKeyToken=2f531e0c1c11a32b' which has a higher version than referenced assembly 'Jenkins.Domain, Version=2.1.1.22017, Culture=neutral, PublicKeyToken=2f531e0c1c11a32b'
I tried adding the following bindingRedirect in app.config but nothing changed :(
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Jenkins.Domain" publicKeyToken="2f531e0c1c11a32b" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.1.1.22051" newVersion="2.1.1.22017"/>
</dependentAssembly>
</assemblyBinding>
These are two nuget packages and yes, I'm guessing the nugets weren't updated together but that's beyond my control (and they are both up to date).
It looks like a very simple application of bindingRedirect but I can't get it to work.
Any help is appreciated :)