You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft.DotNet.Cli.Completions.Tests.DotnetCliSnapshotTests.VerifyCompletions(shellName: "zsh") [FAIL]
[xUnit.net 00:02:12.31] VerifyException : Directory: C:\h\w\A14108D1\w\B59309C8\e\snapshots\zsh
NotEqual:
- Received: DotnetCliSnapshotTests.VerifyCompletions.received.zsh
Verified: DotnetCliSnapshotTests.VerifyCompletions.verified.zsh
FileContent:
NotEqual:
Received: DotnetCliSnapshotTests.VerifyCompletions.received.zsh
Verified: DotnetCliSnapshotTests.VerifyCompletions.verified.zsh
Compare Result:
0836 '-r=[]:RUNTIME_IDENTIFIER:->dotnet_dynamic_complete' \
[xUnit.net 00:02:12.31] - '--project=[The path to the project file to run (defaults to the current directory if there is only one project).]: : ' \
[xUnit.net 00:02:12.31] - '--launch-profile=[The name of the launch profile (if any) to use when launching the application.]: : ' \
[xUnit.net 00:02:12.31] - '-lp=[The name of the launch profile (if any) to use when launching the application.]: : ' \
[xUnit.net 00:02:12.31] + '--project=[The path to the project file to run (defaults to the current directory if there is only one project).]:project: ' \
[xUnit.net 00:02:12.31] + '--launch-profile=[The name of the launch profile (if any) to use when launching the application.]:launch-profile: ' \
[xUnit.net 00:02:12.31] + '-lp=[The name of the launch profile (if any) to use when launching the application.]:launch-profile: ' \
[xUnit.net 00:02:12.31] 0840 '--no-launch-profile[Do not attempt to use launchSettings.json to configure the application.]' \
[xUnit.net 00:02:12.31] Output:
[xUnit.net 00:02:12.31] CI environment detected, using snapshots directory in the current working directory C:\h\w\A14108D1\w\B59309C8\e
[xUnit.net 00:02:12.31] Microsoft.DotNet.Cli.Completions.Tests.DotnetCliSnapshotTests.VerifyCompletions(shellName: "nushell") [OUTPUT] CI environment detected, using snapshots directory in the current working directory C:\h\w\A14108D1\w\B59309C8\e
[xUnit.net 00:02:12.31] Microsoft.DotNet.Cli.Completions.Tests.DotnetCliSnapshotTests.VerifyCompletions(shellName: "nushell") [PASS]
[xUnit.net 00:02:12.31] Output:
[xUnit.net 00:02:12.31] CI environment detected, using snapshots directory in the current working directory C:\h\w\A14108D1\w\B59309C8\e
Running C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin\msbuild.exe /t:Restore C:\h\w\A14108D1\t\dotnetSdkTests\zozkik0h.q4t\ItRunsABackwa---7EB748CC\11TestAppWith10CLIToolReferences.csproj
[xUnit.net 00:02:12.32] Microsoft.DotNet.Cli.Build.Tests.GivenThatWeWantToBeBackwardsCompatibleWith1xProjects.ItRunsABackwardsVersionedTool [OUTPUT] Executing 'dotnet /t:Restore C:\h\w\A14108D1\t\dotnetSdkTests\zozkik0h.q4t\ItRunsABackwa---7EB748CC\11TestAppWith10CLIToolReferences.csproj':
> C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin\msbuild.exe /t:Restore C:\h\w\A14108D1\t\dotnetSdkTests\zozkik0h.q4t\ItRunsABackwa---7EB748CC\11TestAppWith10CLIToolReferences.csproj
Process ID: 8108
[xUnit.net 00:02:12.47] Microsoft.DotNet.Cli.Build.Tests.GivenThatWeWantToBeBackwardsCompatibleWith1xProjects.ItRunsABackwardsVersionedTool [OUTPUT] 》MSBuild version 17.14.0-preview-25127-07+c012996cf for .NET Framework
[xUnit.net 00:02:12.81] Microsoft.DotNet.Cli.Build.Tests.GivenThatWeWantToBeBackwardsCompatibleWith1xProjects.ItRunsABackwardsVersionedTool [OUTPUT] 》Build started 5/2/2025 6:34:34 PM.
[xUnit.net 00:02:12.82] Microsoft.DotNet.Cli.Build.Tests.GivenThatWeWantToBeBackwardsCompatibleWith1xProjects.ItRunsABackwardsVersionedTool [OUTPUT] 》
The text was updated successfully, but these errors were encountered:
These need to be updated when running changing the strings on the CLI.
First run the VerifyCompletions tests, then run the targets /t:CompareCliSnapshots and /t:UpdateCliSnapshots (see #48396)
This should update the CLI completions.
Intermittent failure:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1032392&view=ms.vss-test-web.build-test-results-tab&runId=27730070&resultId=104318&paneView=debug
log:
The text was updated successfully, but these errors were encountered: