0

After updating Nuget version and updating various package versions in our build, I'm getting a compiler warning on one specific project.

C:\Program Files\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190.

And also the warning in the question title.

When running the application I get a crash relating in assembly version mismatch, which ties in with this. And the warnings make sense, BUT what I can't figure out is why it thinks 1.2.13.0 is in use. I cannot find a reference anywhere. And more crucially, another similar project doesn't get any of these warnings and works fine; neither project file has any reference to AutoGenerateBindingRedirects. It must be coming from somewhere and I don't really want to start hacking project files without knowing why.

Mr. Boy
  • 60,845
  • 93
  • 320
  • 589

0 Answers0