Repository navigation
Fix wording of VSTEST_ARTIFACTS_DIRECTORY fallback warning - #16797
Merged
Azat Mukhametshin (azat-msft) merged 2 commits intoDec 3, 2026
Merged
Azat Mukhametshin (azat-msft) merged 2 commits into
Azat Mukhametshin (azat-msft) merged 2 commits into
Conversation
The variable is set by the .NET SDK's dotnet test, not by Microsoft.NET.Test.Sdk. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the warning-text clarification.
No open issues 🎉
What changed in this PR
Clarifies VSTest’s artifact-directory fallback warning to point users toward SDK/tooling mismatches rather than an outdated test-project package.
Changes:
- Replaces the
Microsoft.NET.Test.Sdkexplanation with an outdated .NET SDK or a newervstest.consoleselected throughVSTestConsolePath. - Changes warning text only; fallback behavior remains unchanged.
| File | Description |
|---|---|
| src/Microsoft.TestPlatform.CrossPlatEngine/PostProcessing/ArtifactProcessingManager.cs | Corrects the missing VSTEST_ARTIFACTS_DIRECTORY warning’s explanation. |
Review effort: Balanced
Member
Author
|
/azp run microsoft.vstest |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Azat Mukhametshin (azat-msft)
enabled auto-merge (squash)
December 3, 2026 13:01
Artur Spychaj (drognanar)
approved these changes
Dec 3, 2026
Azat Mukhametshin (azat-msft)
merged commit Dec 3, 2026
bd8a632
into
microsoft:main
20 checks passed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The warning blamed an outdated
Microsoft.NET.Test.Sdkpackage reference, butVSTEST_ARTIFACTS_DIRECTORYis set by the .NET SDK'sdotnet test, which also picks the vstest.console it runs. The warning now points to an outdated .NET SDK, or to a newer vstest.console started by an older SDK (for example, throughVSTestConsolePath).