I am getting the following error when building my code.
C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppBuild.targets(990,5):
I solved this by comparing the project to a very similar project that was working properly. All of the settings in the project properties matched but I found the following extra lines in the vcxproj file of the malfunctioning project:
.\MCtlDrvX.lib
I deleted them and the message went away and the output went to the directory specified in the project settings.