根据猜想,可能是因为系统最近多次更新,出现了两个版本的cvtres.exe。而系统变量里将这俩都引用了,编译的时候,不知道用哪个了,导致出错。
这就好办了,删掉一个呗。
一个在C:WindowsMicrosoft.NETFrameworkv4.0.30319cvtres.exe,另一个在你安装VS的软件目录..Microsoft Visual Studio 10.0vcincvtres.exe
然后右键属性-->详细信息 查看两者版本号,把老大的Kill掉,就完了。我的是在..Microsoft Visual Studio 10.0vcincvtres.exe 的为老版本的,删掉它一切都正常了。