更新时间:2022-12-03 14:34:21
转到 Project ProjTwo属性-> 构建事件-> 构建后事件命令行:
echo f | xcopy /y "$(TargetPath)" "$(SolutionDir)ProjOne\bin\Debug$(TargetFileName)"
构建ProjTwo时,它将ProjTwo.exe复制到ProjOne的Debug文件夹中
When you build ProjTwo, then it copies ProjTwo.exe to Debug folder of ProjOne