From f76bc050709ca5a66935bc4946b9d20fa9ef2dde Mon Sep 17 00:00:00 2001 From: mariam-abdulla Date: Fri, 29 Aug 2025 15:50:10 +0200 Subject: [PATCH 1/2] Update dotnet test --arch and --runtime options --- docs/core/tools/dotnet-test.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index a273970afb8de..898170be002c0 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -482,6 +482,9 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. [!INCLUDE [arch-no-a](../../../includes/cli-arch-no-a.md)] +> [!NOTE] +> Running tests for a solution with a specific `Architecture` is not supported. If needed, this should be specified at the individual project level instead. + [!INCLUDE [configuration](../../../includes/cli-configuration.md)] - **`-f|--framework `** @@ -496,6 +499,9 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. Short form `-r` available starting in .NET SDK 7. +> [!NOTE] +> Running tests for a solution with a specific `Runtime Identifier` is not supported. If needed, this should be specified at the individual project level instead. + - **`-v|--verbosity `** Sets the MSBuild verbosity level. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, `d[etailed]`, and `diag[nostic]`. For more information, see . From 40663707d2152dab7b897ed046ed3f5e69f05328 Mon Sep 17 00:00:00 2001 From: mariam-abdulla Date: Mon, 1 Sep 2025 09:57:40 +0200 Subject: [PATCH 2/2] Update doc --- docs/core/tools/dotnet-test.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 898170be002c0..f4db64b879c93 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -482,9 +482,6 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. [!INCLUDE [arch-no-a](../../../includes/cli-arch-no-a.md)] -> [!NOTE] -> Running tests for a solution with a specific `Architecture` is not supported. If needed, this should be specified at the individual project level instead. - [!INCLUDE [configuration](../../../includes/cli-configuration.md)] - **`-f|--framework `** @@ -499,8 +496,8 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. Short form `-r` available starting in .NET SDK 7. -> [!NOTE] -> Running tests for a solution with a specific `Runtime Identifier` is not supported. If needed, this should be specified at the individual project level instead. + > [!NOTE] + > Running tests for a solution with a global `RuntimeIdentifier` property (explicitly or via `--arch`, `--runtime`, or `--os`) is not supported. You can set `RuntimeIdentifier` on individual project level instead. - **`-v|--verbosity `**