-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Describe the bug
dotnet run --help
displays a confusing line for the -e|--environment
option:
-e, --environment <NAME="VALUE"> Sets the value of an environment variable.
Creates the variable if it does not exist, overrides if it does.
👉 This will force the tests to be run in an isolated process. 👈
This argument can be specified multiple times to provide multiple variables.
I believe the line "This will force the tests to be run in an isolated process." was only intended for dotnet test
not dotnet run
as it only makes sense in the testing context.
To Reproduce
- Open Command Prompt or Pwsh and enter:
dotnet run --help
- Observe the output for "-e, --environment" contains the line " This will force the tests to be run in an isolated process."
Exceptions (if any)
Further technical details
details of dotnet --info
.NET SDK: Version: 10.0.100-rc.1.25451.107 Commit: 2db1f5ee2b Workload version: 10.0.100-manifests.a6e8bec0 MSBuild version: 17.15.0-preview-25451-107+2db1f5ee2
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-rc.1.25451.107\
Copilot