Skip to content

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jul 12, 2024

Fix #5132

Description

Add option to not warn on trx overwrite.

WarnOnFileOverwrite=false

Usage from commandline or from csproj:

--logger:trx;LogFileName=my.trx;WarnOnFileOverwrite=false
<VSTestLogger>trx%3bLogFileName=$(MSBuildProjectName).trx%3bWarnOnFileOverwrite=false</VSTestLogger>

Related issue

Kindly link any related issues. E.g. Fixes #xyz.

  • I have ensured that there is a previously discussed and approved issue.

@nohwnd nohwnd merged commit 525565d into microsoft:main Jul 12, 2024
This was referenced Jul 21, 2025
This was referenced Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unsuppressable overwrite warning when using <VSTestLogger> MSBuild property which confuses users
1 participant