Fix CI failure when GeneratedTestAssets directory doesn't exist by nohwnd · Pull Request #15556 · microsoft/vstest (original) (raw)

@nohwnd

Add -ErrorAction SilentlyContinue to Remove-Item calls for the GeneratedTestAssets directory in the CI pipeline. The directory may not exist on first run or on certain pipeline configurations, causing the pipeline to fail with a 'Cannot find path' error.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

AI review requested due to automatic review settings

March 24, 2026 06:12

@nohwnd

Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com

Copilot AI review requested due to automatic review settings

March 24, 2026 07:04

@nohwnd nohwnd added the 🚢 Ship it!

Add to PRs where owner approves automated PR, but cannot approve because they "wrote it".

label

Mar 24, 2026

Evangelink

This was referenced

Mar 25, 2026

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})