From 9a6bba10515001cd39c2736b6639f82434054dcf Mon Sep 17 00:00:00 2001 From: Michael Yanni Date: Tue, 17 Nov 2026 11:20:40 -0800 Subject: [PATCH 1/2] =?UTF-8?q?=20=F0=9F=A4=96Copilot=F0=9F=A4=96:=20=20[r?= =?UTF-8?q?elease/10.0.4xx]=20Pin=20template=20engine=20samples=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keep approval snapshots deterministic by installing the Template Engine samples version aligned with this servicing branch. Backport of #57089 (issue #57031). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- test/dotnet-new.IntegrationTests/TemplateEngineSamplesTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dotnet-new.IntegrationTests/TemplateEngineSamplesTest.cs b/test/dotnet-new.IntegrationTests/TemplateEngineSamplesTest.cs index 7c995d12c08f..4e8eb37a305a 100644 --- a/test/dotnet-new.IntegrationTests/TemplateEngineSamplesTest.cs +++ b/test/dotnet-new.IntegrationTests/TemplateEngineSamplesTest.cs @@ -18,7 +18,7 @@ public TemplateEngineSamplesTest(SharedHomeDirectory sharedHome, ITestOutputHelp { _log = new TestLoggerFactory(log).CreateLogger(nameof(CommonTemplatesTests)); _sharedHome = sharedHome; - _sharedHome.InstallPackage("Microsoft.TemplateEngine.Samples"); + _sharedHome.InstallPackage("Microsoft.TemplateEngine.Samples::10.0.404"); } [Theory] From 95e0f992741d949aaea3d80055278f3be7b006ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Nov 2026 05:01:11 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=20=F0=9F=A4=96Copilot=F0=9F=A4=96:=20=20Di?= =?UTF-8?q?sable=20NuGet=20audit=20in=20SDK=20test=20processes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 50e50353508fdef7f124cd2d0b40890e7e2ee0a1) Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- test/Microsoft.NET.TestFramework/SdkTestContext.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Microsoft.NET.TestFramework/SdkTestContext.cs b/test/Microsoft.NET.TestFramework/SdkTestContext.cs index c5dec7413a9d..233be0e407b1 100644 --- a/test/Microsoft.NET.TestFramework/SdkTestContext.cs +++ b/test/Microsoft.NET.TestFramework/SdkTestContext.cs @@ -122,6 +122,7 @@ public void AddTestEnvironmentVariables(IDictionary environment environment["GenerateResourceMSBuildArchitecture"] = "CurrentArchitecture"; environment["GenerateResourceMSBuildRuntime"] = "CurrentRuntime"; + environment["NuGetAudit"] = "false"; // Prevent test MSBuild nodes from persisting environment["MSBUILDDISABLENODEREUSE"] = "1";