warning MSB8012: TargetPath与 Linker 的 OutputFile 属性值不匹配。这可能导致项目生成不正确。
若要更正此问题,请确保 $(OutDir)、$(TargetName) 和 $(TargetExt) 属性值与 %(Link.OutputFile) 中指定的值匹配。
1) set Configuration Properties | Linker | General | Output file to$(OutDir)$(TargetName)$(TargetExt)
2) set Configuration Properties | General | Output Directory to "desired directory path"
3) set Configuration Properties | General | Target Name to "desired name for output file"
4) set Configuration Properties | General | Target Extension to "desired output file extention (include dot)"
一般用第一种设置就可以