I am getting the following warning:1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1095,5): warning MSB8012:TargetPath(E:\Test\Lib10\Lib10.lib) does not match the Library's OutputFile property value (E:\Test\Lib10\x64\Release\Lib10.lib).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 %(Lib.OutputFile).I can see where to change $(OutDir), $(TargetName), and $(TargetExt).I do not see where to change %(Lib.OutputFile) and with the "%" prefix I am assuming it is not a macro but probably a path under "Librarian", except I do not see a "OutputFile" variable. In fact, I do not see "E:\Test\Lib10\Lib10.lib" anywhere, including the Command Line summary.When I hit [F1] on "MSB8012", I get a topic called "Output Window". In VS6, this would have brought up a help screen to explain the error.Also, what's with "Librarian"? There's no librarian here. It's a dumb name. Someone needs to change the name to "Library" or "Linker" or "Library Linker".I keep my *.libs in my project's root folder but modify the name for release and debug and want to append "x64" for the 64 bit modules and end up with the following:Lib10.libLib10D.libLib10-x64.libLib10D-x64.libI then proceeded to modify my output path a bit more and got the following messages:1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1095,5): warning MSB8012: TargetPath(E:\Test\Lib10\Lib10.lib) does not match the Library's OutputFile property value (E:\Test\Lib10\Lib10-x64.lib).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 %(Lib.OutputFile).1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1097,5): warning MSB8012: TargetName(BPE_Lib10) does not match the Library's OutputFile property value (BPE_Lib10-x64).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 %(Lib.OutputFile).The Lib file was created in the folder and with the name I wanted.THEN, I actually read and tried to understand the error, modified Configuration Properties | General | TargetName to "Lib10-x64", the messages disappeared, and the file was produced ok.
Product Language
Version
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results