编译报错:无法使用v142编译代码

使用下面的命令批量替换为v141即可。
在源代码目录执行下面的命令:

  1. find . -type f -name "*.vcxproj" -exec sed -i 's/v142/v141/g' {} \;