vs-cleanup.sh (567B)
1 case "$(uname -s)" in 2 MINGW*|MSYS*) 3 # For some reason, by the time the task finishes, and when run-task 4 # starts its cleanup, there is still a vctip.exe (MSVC telemetry-related 5 # process) running and using a dll that run-task can't then delete. 6 # "For some reason", because the same doesn't happen with other tasks. 7 # In fact, this used to happen with older versions of MSVC for other 8 # tasks, and stopped when upgrading to 15.8.4... 9 taskkill -f -im vctip.exe || true 10 # Same with the mspdbsrv process. 11 taskkill -f -im mspdbsrv.exe || true 12 ;; 13 esac