When you want to update or install a dotnet tool you need to explicitly provide the version which doesn't work in our DevOps environment. Add a new parameter like --preview to update/install the latest preview version.
Otherwise, our DevOps engineer is struggling to parse the output of the dotnet tool search command. We always run the latest dotnet tool including preview versions. This is a must for our own dotnet global tools like Volo.Abp.Cli
See what we are doing to be able to update to the latest preview version of any dotnet tool package:
When you want to update or install a dotnet tool you need to explicitly provide the version which doesn't work in our DevOps environment. Add a new parameter like
--preview
to update/install the latest preview version.Otherwise, our DevOps engineer is struggling to parse the output of the
dotnet tool search
command. We always run the latest dotnet tool including preview versions. This is a must for our own dotnet global tools like Volo.Abp.CliSee what we are doing to be able to update to the latest preview version of any dotnet tool package:
A related question about this on StackOverflow: https://stackoverflow.com/a/66901668/1767482