Repository navigation
[release/10.0.4xx] Disable NuGet audit in SDK test processes - #57180
Merged
Merged
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the sample-package version pin.
No open issues 🎉
What changed in this PR
Backports the template-sample test fix to release/10.0.4xx, addressing the snapshot drift reported in #57031.
Changes:
- Pins
Microsoft.TemplateEngine.Samplesto10.0.404so newer package releases do not change the sample content used by existing approval tests.
| File | Description |
|---|---|
test/dotnet-new.IntegrationTests/TemplateEngineSamplesTest.cs |
Replaces the unversioned sample package install with an explicit 10.0.404 pin. |
Review effort: Balanced
This was referenced Nov 17, 2026
marcpopMSFT
approved these changes
Nov 17, 2026
Member
Author
Member
Author
|
Edit: I've cherry picked the change into this PR so we can get the branch building. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 50e5035) Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
nagilson
approved these changes
Nov 19, 2026
nagilson
enabled auto-merge
November 19, 2026 18:34
nagilson
disabled auto-merge
November 19, 2026 20:16
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.
🤖Copilot🤖
Backport of #57177 to
release/10.0.4xx. Relates to #57031.Fix
Set
NuGetAudit=falseinSdkTestContext.AddTestEnvironmentVariablesfor SDK test-spawned processes, matching therelease/10.0.1xxbackport. This preventsNU1903warnings from breaking exact-output assertions (#57002, #57108, #57132). The change affects tests only.Merge conflict
This PR originally backported the template-samples pin from #57089 (Part 1). The pin to
Microsoft.TemplateEngine.Samples::10.0.404and its explanatory comment are already onrelease/10.0.4xx(5e8c320), so the conflict resolution retained the release-branch version. The pin is no longer part of the diff. Part 2 of #57089 (dotnet-watchTemporaryFileManager, #57065) does not apply because the regressing change is not in this branch.Validation
NuGetAudit=truebefore applying the method andfalseafterward.TemplateEngineSamplesTestcases against the built redist SDK.