currently this tool uses
| privatestaticreadonlystringDotNetInstallPath=Path.Combine("/","usr","local","share","dotnet"); |
which is not always the case.
the dotnet install tool uses the environment variableDOTNET_INSTALL_DIR
for the path and the uninstall tool should try to do the same.