I developed a (non-public) nuget-tool. The installation was very easy:
dotnet tool install dotnet-mytoolname -g
My colleagues will also install these tool by the command.
In future I will release new versions of dotnet-mytoolname
. Consumers will update it easy with dotnet.exe.
Now my problem: If a developer runs an outdated version of that tool then I will hint it in console output (something like "a newer version is available"). How I can check with dotnet.exe if a new version is available?
The command below would do it but only for nuget.org. But our nuget-tool is not hosted on nuget.org but on a private azure-devops server.
dotnet tools search dotnet-mytoolname
The nuget-tool dotnet-mytoolname
is a C# console-project.
Have you any ideas how I can check within that project if a newer version is available on azure-devops?