Browse - Programming Tips - Warning MSB8012: TargetPath(...) does not match the Linker's OutputFile property value

Date: 2018aug30
OS: Windows
Product: VC2017

Q.  Warning MSB8012: TargetPath(...) does not match the Linker's OutputFile property value

This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName)
and $(TargetExt) property values match the value specified in %(Link.OutputFile).

A.  Right click on Properties > Linker > General > Output File to

<inherit from parent or project defaults>
Or
$(OutDir)$(TargetName)$(TargetExt)