How to reference C++/CLI Input Library correctly so that it builds on TFS build agent
In your C++/CLI Project,
Properties/Configuration Properties/Linker/Input/Additional Dependencies/
and clear the dependencies if you have specified them.
Properties/Common Properties/Framework and References/
click on Add New Reference and select the files or projects or other assemblies
click on the newly added reference
On the right hand pane under Project Reference, set Properties/Link Library Dependencies = true