编译报错:无法使用v142编译代码 编译报错:无法使用v142编译代码使用下面的命令批量替换为v141即可。在源代码目录执行下面的命令: find . -type f -name "*.vcxproj" -exec sed -i 's/v142/v141/g' {} \;