Skip to content

[release/10.0.1xx] Bump analysislevel constants for .NET 10 release#52511

Merged
baronfel merged 2 commits into
release/10.0.1xxfrom
backport/pr-52487-to-release/10.0.1xx
Jan 19, 2026
Merged

[release/10.0.1xx] Bump analysislevel constants for .NET 10 release#52511
baronfel merged 2 commits into
release/10.0.1xxfrom
backport/pr-52487-to-release/10.0.1xx

Created 'shipped' analyzers list for .NET 10.

1512de5
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis succeeded Jan 16, 2026 in 0s

.NET Result Analysis

Details

‼️ Build Analysis Check Result has been manually overridden

  • The build analysis check result has been updated by the user for the following reason: templateengine ssl known issue
  • The check result has changed from Success to Success

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Known test errors

Test Failures (17 tests failed)

🔹 [All failing tests from dotnet-sdk-public-ci]

    ⚠️ 13 failing tests not displayed for this pipeline due to space limitations

    Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest [Details] [4.20% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest(testCase: \"console --search\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new console --search --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run:\n   dotnet new search -h\n\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\n, but found 103 (difference of 103). [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 29
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleO... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest(testCase: \"--search console\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new --search console --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run:\n   dotnet new search -h\n\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\n, but found 103 (difference of 103). [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 29
         at InvokeStub_DotnetNewSearchTests.BasicTest(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest(testCase: \"search console\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new search console --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\n, but found 103 (difference of 103). [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 29
         at InvokeStub_DotnetNewSearchTests.BasicTest(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]
    Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults [Details] [4.11% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults(testCase: \"--search fofofo\", criteria: \"'fofofo'\")
      Exception Message
      Expected string \"Matches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\" to contain \"No templates found matching: 'fofofo'.\" because The command error output did not contain expected result: No templates found matching: 'fofofo'.\n\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new --search fofofo --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run:\n   dotnet new search -h\n\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdErrContaining(String pattern) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 128
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults(String testCase, String criteria) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 68
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults(testCase: \"search fofofo\", criteria: \"'fofofo'\")
      Exception Message
      Expected string \"Matches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\" to contain \"No templates found matching: 'fofofo'.\" because The command error output did not contain expected result: No templates found matching: 'fofofo'.\n\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new search fofofo --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection coul [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdErrContaining(String pattern) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 128
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults(String testCase, String criteria) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 68
         at InvokeStub_DotnetNewSearchTests.CanDisplayNoResults(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults(testCase: \"search fofofo --type item\", criteria: \"'fofofo', --type='item'\")
      Exception Message
      Expected string \"Matches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\" to contain \"No templates found matching: 'fofofo', --type='item'.\" because The command error output did not contain expected result: No templates found matching: 'fofofo', --type='item'.\n\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new search fofofo --type item --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see  [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdErrContaining(String pattern) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 128
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanDisplayNoResults(String testCase, String criteria) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 68
         at InvokeStub_DotnetNewSearchTests.CanDisplayNoResults(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]
    Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor [Details] [4.11% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor(testCase: \"func --search --columns author --author micro\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new func --search --columns author --author micro --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nUsing home directory '/Users/runner/work/1/s/artifacts/tmp/Release/testing' set by the 'DOTNET_CLI_HOME' environment variable.\nTelemetry is: Disabled\nGlobal Settings Location: /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\n[2026-01-16 16:54:21.579] [Debug] [Template Engine] => [Execute]: Execute started\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run:\n   dotnet new search -h\n\nSearching for the templates...\n[2026-01-16 16:54:21.717] [Debug] [Micros [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 202
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, Object... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor(testCase: \"--search func --columns author --author micro\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new --search func --columns author --author micro --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nUsing home directory '/Users/runner/work/1/s/artifacts/tmp/Release/testing' set by the 'DOTNET_CLI_HOME' environment variable.\nTelemetry is: Disabled\nGlobal Settings Location: /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\n[2026-01-16 16:54:23.354] [Debug] [Template Engine] => [Execute]: Execute started\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run:\n   dotnet new search -h\n\nSearching for the templates...\n[2026-01-16 16:54:23.467] [Debug] [Micros [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 202
         at InvokeStub_DotnetNewSearchTests.CanFilterAuthor(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor(testCase: \"search func --columns author --author micro\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new search func --columns author --author micro --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nUsing home directory '/Users/runner/work/1/s/artifacts/tmp/Release/testing' set by the 'DOTNET_CLI_HOME' environment variable.\nTelemetry is: Disabled\nGlobal Settings Location: /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\n[2026-01-16 16:54:24.875] [Debug] [Template Engine] => [Execute]: Execute started\nSearching for the templates...\n[2026-01-16 16:54:24.971] [Debug] [Microsoft.TemplateSearch.Common.Providers.NuGetMetadataSearchProvider] => [Execute]: Initializing search cache...\n[2026-01-16 16:54:24.972] [Debug] [ [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 202
         at InvokeStub_DotnetNewSearchTests.CanFilterAuthor(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]
    Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor_WithoutName [Details] [4.11% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor_WithoutName(testCase: \"--search --columns author --author micro\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new --search --columns author --author micro --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nUsing home directory '/Users/runner/work/1/s/artifacts/tmp/Release/testing' set by the 'DOTNET_CLI_HOME' environment variable.\nTelemetry is: Disabled\nGlobal Settings Location: /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\n[2026-01-16 16:55:04.320] [Debug] [Template Engine] => [Execute]: Execute started\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run:\n   dotnet new search -h\n\nSearching for the templates...\n[2026-01-16 16:55:04.472] [Debug] [Microsoft.T [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor_WithoutName(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 233
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
         at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** argum... [Full stack trace]
      Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor_WithoutName(testCase: \"search --columns author --author micro\")
      Exception Message
      Expected value to be 0 because Expected command to exit with 0 but it did not.\nWorking Directory:\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new search --columns author --author micro --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\nExit Code: 103\nStdOut:\nUsing home directory '/Users/runner/work/1/s/artifacts/tmp/Release/testing' set by the 'DOTNET_CLI_HOME' environment variable.\nTelemetry is: Disabled\nGlobal Settings Location: /Users/runner/work/1/s/artifacts/tmp/Release/testing/dotnet-new.IntegrationTests/SharedHomeDirectory/20260116165353575\n[2026-01-16 16:55:05.505] [Debug] [Template Engine] => [Execute]: Execute started\nSearching for the templates...\n[2026-01-16 16:55:05.645] [Debug] [Microsoft.TemplateSearch.Common.Providers.NuGetMetadataSearchProvider] => [Execute]: Initializing search cache...\n[2026-01-16 16:55:05.646] [Debug] [Micro [Full log]
      Stack Trace
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
         at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
         at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanFilterAuthor_WithoutName(String testCase) in /Users/runner/work/1/s/test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs:line 233
         at InvokeStub_DotnetNewSearchTests.CanFilterAuthor_WithoutName(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)... [Full stack trace]

Was this helpful? Yes No