When we try to compile a 64bit target using TFS team builds (MSBuild) it fails with below error. The error appears to be to do with Intel Compiler trying to load SQLite and it seems it's loading the wrong version. But when we try to compile using visual studio it works. Somehow with MSBuild it is linking wrong SQLlite, any ideas how to resolve this issue ?
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 15.0\Toolset.targets (357, 0)