It really is not a question, but I am adding it here in the hope that it will help someone find a solution.
We use the RedGate SQL Comparison SDK to compare databases at runtime. About a week ago, our builds stopped working with the following error message:
C: \ Program Files (x86) \ MSBuild \ 14.0 \ bin \ Microsoft.Common.CurrentVersion.targets (1819.5): warning MSB3275: main link "RedGate.SQLCompare.Engine.UIProject, Version = 11.1. 2.54, Culture = neutral, PublicKeyToken = 7f465a1c156d4d57, processorArchitecture = MSIL "cannot be resolved because it has an indirect dependency on the assembly" Newtonsoft.Json, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = 30ad4fe6b2a6aeed ", which was built against" .NETFramework , Version = v4.5 ". This is a higher version than the current target environment is ".NETFramework, Version = v4.0".
The interesting part is that it worked on other machines, as well as in a new Windows 10 window with VS.NET 2015. It just wouldn't work on our build machine.
I went through a bunch of things, trying to find a reason and a solution. As it turned out, we recently installed the Azure SDK v.2.8 in this field to check out some integration points. Returning to the βwhat changedβ set of questions, we removed the Azure SDK v.2.8, and all projects were successfully built again.
Hope this helps someone save a ton of hunting in the future.
Mark gerlach
source share