command-line-api
command-line-api copied to clipboard
incorrect argument in specified in exception
https://github.com/dotnet/command-line-api/blob/3e0db9e5830f2722645b9a576f80e3650b50f23a/src/System.CommandLine.Hosting/HostingExtensions.cs#L98
Should be commandType
not handlerType
I would have opened a pull request to fix this, but I'm not sure what branch to use.
The automated builds in the https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json feed linked from README.md are from the main
branch, but that throw
statement was already removed in https://github.com/dotnet/command-line-api/pull/2100.
At this time, I don't believe the developers will publish a bugfix version API-compatible with 2.0.0-beta4.22272.1.