{
"ErrorMessage": "Using launch settings from",
"ErrorPattern": "",
"BuildRetry": true,
"ExcludeConsoleLog": false
}
Expected string to be <null> or empty because Expected command to not output to stderr but it was not:
Working Directory: ...\ItUsesLaunchP---E6B15DAB
File Name: ...\dotnet.exe
Arguments: run --launch-profile sEcoND
Exit Code: 0
StdOut:
Second
StdErr:
Using launch settings from ...\My Project\launchSettings.json...
Expected string to be empty, but found "Using launch settings from ...\Properties\launchSettings.json...".
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1379337
Build error leg or test failing: dotnet.Tests.dll.9, dotnet.Tests.dll.10, dotnet.Tests.dll.11
Pull request: #53877
Error Message
{ "ErrorMessage": "Using launch settings from", "ErrorPattern": "", "BuildRetry": true, "ExcludeConsoleLog": false }Details
Multiple
dotnet runtests fail becausedotnet runnow outputsUsing launch settings from ...launchSettings.json...to stderr when using launch profiles, but the tests assert that stderr should be empty or null.Affected tests:
Microsoft.DotNet.Cli.Run.Tests.GivenDotnetRunRunsVbproj.ItUsesLaunchProfileOfTheSpecifiedName(launchProfileName: "Second")Microsoft.DotNet.Cli.Run.Tests.GivenDotnetRunRunsVbproj.ItUsesLaunchProfileOfTheSpecifiedName(launchProfileName: "sEcoND")Microsoft.DotNet.Cli.Run.Tests.GivenDotnetRunRunsVbproj.ItDefaultsToTheFirstUsableLaunchProfileMicrosoft.DotNet.Cli.Run.Tests.RunCommandTests.EnvironmentVariableExpansion_ProjectReproduces on main — confirmed in build:
Sample error (ItUsesLaunchProfileOfTheSpecifiedName):
Sample error (EnvironmentVariableExpansion_Project):
Sample logs:
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1379337
Error message validated:
[Using launch settings from]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/15/2026 5:09:35 AM UTC
Report
Summary