I am working on upgrading our TeamCity projects from VS2012 to VS2015 and I am running into an issue compiling our MVC application.
Old MSBuild (v4.0.30319.34209) g
Could be helpful for someone:
After installing the Windows 10 SDK and rebooting my server, I've added /p:VisualStudioVersion=14.0 /p:TargetFrameworkVersion=v4.5.2 to my msbuild.exe. That solved it in my case.
/p:VisualStudioVersion=14.0 /p:TargetFrameworkVersion=v4.5.2