From e42364b1da364fc19d312c5817f8de7473cd7bdb Mon Sep 17 00:00:00 2001 From: Amaury Leveugle Date: Tue, 14 Jul 2026 16:24:27 +0200 Subject: [PATCH] Reclassify Microsoft.Win32.Msi.Manual.Tests as a standalone manual tool Rename Microsoft.Win32.Msi.Manual.Tests to Microsoft.Win32.Msi.ManualTester so it no longer matches the test/UnitTests.proj '*.Tests.csproj' glob and is excluded from the CI test run. This project is an interactive console tool (installs an MSI, requires elevation, has no test framework or test methods), not a real test project. Excluding it unblocks retiring the VSTest dispatch branch, of which it was the last consumer. Fixes dotnet/sdk#55132 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2f2e2750-581e-4a54-b895-5039fa295d8e --- sdk.slnx | 2 +- src/Tasks/Microsoft.NET.slnf | 2 +- .../Microsoft.Win32.Msi.ManualTester.csproj} | 0 .../Program.cs | 2 +- .../readme.md | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename test/{Microsoft.Win32.Msi.Manual.Tests/Microsoft.Win32.Msi.Manual.Tests.csproj => Microsoft.Win32.Msi.ManualTester/Microsoft.Win32.Msi.ManualTester.csproj} (100%) rename test/{Microsoft.Win32.Msi.Manual.Tests => Microsoft.Win32.Msi.ManualTester}/Program.cs (99%) rename test/{Microsoft.Win32.Msi.Manual.Tests => Microsoft.Win32.Msi.ManualTester}/readme.md (89%) diff --git a/sdk.slnx b/sdk.slnx index 2d1f89b3c7c4..36439162471e 100644 --- a/sdk.slnx +++ b/sdk.slnx @@ -407,7 +407,7 @@ - + diff --git a/src/Tasks/Microsoft.NET.slnf b/src/Tasks/Microsoft.NET.slnf index 3e559fbd08f6..edaddfdb6ed5 100644 --- a/src/Tasks/Microsoft.NET.slnf +++ b/src/Tasks/Microsoft.NET.slnf @@ -49,7 +49,7 @@ "test\\Microsoft.NET.Sdk.WorkloadManifestReader.Tests\\Microsoft.NET.Sdk.WorkloadManifestReader.Tests.csproj", "test\\Microsoft.NET.TestFramework\\Microsoft.NET.TestFramework.csproj", "test\\Microsoft.NET.ToolPack.Tests\\Microsoft.NET.ToolPack.Tests.csproj", - "test\\Microsoft.Win32.Msi.Manual.Tests\\Microsoft.Win32.Msi.Manual.Tests.csproj", + "test\\Microsoft.Win32.Msi.ManualTester\\Microsoft.Win32.Msi.ManualTester.csproj", "test\\Microsoft.Win32.Msi.Tests\\Microsoft.Win32.Msi.Tests.csproj", "test\\Msbuild.Tests.Utilities\\Msbuild.Tests.Utilities.csproj", "test\\TelemetryStdOutLogger\\TelemetryStdOutLogger.csproj", diff --git a/test/Microsoft.Win32.Msi.Manual.Tests/Microsoft.Win32.Msi.Manual.Tests.csproj b/test/Microsoft.Win32.Msi.ManualTester/Microsoft.Win32.Msi.ManualTester.csproj similarity index 100% rename from test/Microsoft.Win32.Msi.Manual.Tests/Microsoft.Win32.Msi.Manual.Tests.csproj rename to test/Microsoft.Win32.Msi.ManualTester/Microsoft.Win32.Msi.ManualTester.csproj diff --git a/test/Microsoft.Win32.Msi.Manual.Tests/Program.cs b/test/Microsoft.Win32.Msi.ManualTester/Program.cs similarity index 99% rename from test/Microsoft.Win32.Msi.Manual.Tests/Program.cs rename to test/Microsoft.Win32.Msi.ManualTester/Program.cs index eaf303a54ae8..1d34fec1ed25 100644 --- a/test/Microsoft.Win32.Msi.Manual.Tests/Program.cs +++ b/test/Microsoft.Win32.Msi.ManualTester/Program.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.Win32.Msi.Manual.Tests +namespace Microsoft.Win32.Msi.ManualTester { /// /// Simple test application to illustrate basic MSI API calls and wiring up an external UI handler to diff --git a/test/Microsoft.Win32.Msi.Manual.Tests/readme.md b/test/Microsoft.Win32.Msi.ManualTester/readme.md similarity index 89% rename from test/Microsoft.Win32.Msi.Manual.Tests/readme.md rename to test/Microsoft.Win32.Msi.ManualTester/readme.md index 4c27db500ae6..3a651fab80e8 100644 --- a/test/Microsoft.Win32.Msi.Manual.Tests/readme.md +++ b/test/Microsoft.Win32.Msi.ManualTester/readme.md @@ -2,7 +2,7 @@ This project contains a simple console application that uses the MSI APIs to install an MSI. You can run the application using the command line below -```Microsoft.Win32.Mist.ManualTest.exe install ``` +```Microsoft.Win32.Msi.ManualTester.exe install ``` If the MSI you provide installs per-machine, run the application from an elevated prompt. The test application will not handle elevation. It will report an error if you don't have sufficient privileges.