-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
When executing the following commands with the latest build dotnet-sdk-11.0.100-preview.2.26110.101, an error occurs: Unhandled exception: Object reference not set to an instance of an object.
dotnet tool install -g trx2junit
dotnet tool install -g dotnet-reportgenerator-globaltool
dotnet tool install -g FluentMigrator.DotNet.Cli
dotnet tool install -g dotnet-script
dotnet tool install -g protobuf-net.Protogen
dotnet tool install -g dotnet-xdt
dotnet tool install -g Microsoft.Web.LibraryManager.CLI
dotnet tool install -g NuKeeper
dotnet tool install -g dotnet-search
dotnet tool install -g dotnet-symbol
dotnet tool install -g ilspycmd
dotnet tool install -g dotnet-property
dotnet tool install --global GitVersion.Tool --version 5.0.0-beta2-91
dotnet tool install --global altcover.global
dotnet tool install --global dotnet-doc
dotnet tool install --global weeknumber
dotnet tool install --global Obfuscar.GlobalTool
dotnet tool install -–global dotnetrsa
dotnet tool install --global dotnet-versioninfo
dotnet tool install --global dotnet-aop
dotnet tool install --global srihash-cli
dotnet tool install -g Sleet
dotnet tool install --global dotnet-dbinfo
dotnet tool install -g GiphyCli
dotnet tool install –g dotnet-guid
dotnet tool install –g gti
dotnet tool install –g IdentifierGenerator
dotnet tool install -g dotnet-nuget-gc
dotnet tool install –g ndjson
dotnet tool install –g TcpMux
dotnet tool install --global Elemental.SysInfoTool --version 0.5.0
dotnet tool install –g QB.DotNetCoreInstaller
dotnet tool install --global OtterKeys
dotnet tool install --global dotnet-gitcoauth
dotnet tool install --global NuGetKeyVaultSignTool
dotnet tool install --global dotnet-config2json
dotnet tool install --global DotnetSdkHelpers
dotnet tool install --global pbm
dotnet tool install --global TusCli--version 0.2.1
dotnet tool install --global dotnet-giio --version 1.0.2
dotnet tool install --global CSharpSyntaxValidator
dotnet tool install -g NuGetUtils.Tool.Restore
dotnet tool install -g EntityFrameworkCore.Generator
dotnet tool install --global dotnet-sql-cache --version 9.0.7
dotnet tool install -g coverlet.console
dotnet tool install –g dotnet-ignore
dotnet tool install --global dotnet-rimraf
dotnet tool install --global dotnet-project-licenses
dotnet tool install --global dotnet-sqldb --version 0.1.4
dotnet tool install --global NukedBit.NRepo
dotnet tool install -g Aistant.DocImport
dotnet tool install --global MarkdownSnippets.Tool
To Reproduce
Please ensure that only dotnet-sdk-11.0.100-preview.2.26110.101 is installed on the machine.
SET DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2
- Open cmd.exe form %windir%\System32.
- Execute command: dotnet tool install -g trx2junit.
Expected Result:
The tool can be installed successfully
Actual Result:
Tool installation failed with error: Unhandled exception: Object reference not set to an instance of an object.
Regression?
Yes
1). Windows 11 25H2 AMD64 + dotnet-sdk-11.0.100-preview.2.26103.111: Pass
2). Windows 11 25H2 AMD64 + dotnet-sdk-11.0.100-preview.2.26110.101: Fail
3). Windows 11 25H2 AMD64 + dotnet-sdk-11.0.100-preview.2.26110.116: Fail
Configuration
Application Name: GlobalToolsNETCore21Part02, Globaltools, GlobalToolsNETCore22
OS: Windows 11 25H2
CPU: X64
.NET Build Number: dotnet-sdk-11.0.100-preview.2.26110.101
@dotnet-actwx-bot @dotnet/compat