From 65eef05890f87f2db8d504293bfbbffb111af0b1 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 16 Sep 2025 15:46:29 +0200 Subject: [PATCH] Document --test-runner option for dotnet new globaljson --- docs/core/tools/dotnet-new-sdk-templates.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/core/tools/dotnet-new-sdk-templates.md b/docs/core/tools/dotnet-new-sdk-templates.md index 2557ecf8a3dd4..e5c5b7e6e8af4 100644 --- a/docs/core/tools/dotnet-new-sdk-templates.md +++ b/docs/core/tools/dotnet-new-sdk-templates.md @@ -705,6 +705,10 @@ API Controller with or without read/write actions. The roll-forward policy to use when selecting an SDK version, either as a fallback when a specific SDK version is missing or as a directive to use a later version. For more information, see [global-json](global-json.md#rollforward). +- **`--test-runner `** + + This option was introduced in .NET 10 SDK and specifies the test runner to use, either VSTest or Microsoft.Testing.Platform. The default is VSTest. + ### `sln` Creates an empty solution file containing no projects.