TargetExt(.dll) does not match the Linker‘s OutputFile property value (.exe)
TargetExt(.dll) does not match the Linker's OutputFile property value (.exe)
编译VS 2015遇到这个问题。
修改也很容易,这是因为targetPath 与 OutputFile 路径不一致。
右键项目,选属性->Linker->General->Output File 改为为 默认值
$(OutDir)$(TargetName)$(TargetExt)
这样再编译就没问题了。