dotnet-maui-check icon indicating copy to clipboard operation
dotnet-maui-check copied to clipboard

Install fails to install version 0.7.3 on MacOS, works on Windows 10

Open adamhill opened this issue 3 years ago • 4 comments

In previous issues it was advised to install 0.7.3.

On the MAC install or update will not install 0.7.3 On the PC it will install 0.7.3 without issues.

--- MacOS ---

❯ dotnet tool uninstall -g redth.net.maui.check Tool 'redth.net.maui.check' (version '0.6.1') was successfully uninstalled. ❯ dotnet tool install -g redth.net.maui.check --version 0.7.3 /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/sswotgw2.3qd/restore.csproj : error NU1102: Unable to find package redth.net.maui.check with version (>= 0.7.3) /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/sswotgw2.3qd/restore.csproj : error NU1102: - Found 36 version(s) in nuget.org [ Nearest version: 0.6.1 ] /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/sswotgw2.3qd/restore.csproj : error NU1102: - Found 0 version(s) in /usr/local/share/dotnet/library-packs The tool package could not be restored. Tool 'redth.net.maui.check' failed to install. This failure may have been caused by:

  • You are attempting to install a preview release and did not use the --version option to specify the version.
  • A package by this name was found, but it was not a .NET tool.
  • The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
  • You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

❯ dotnet tool install -g redth.net.maui.check --version 0.6.1 You can invoke the tool using the following command: maui-check Tool 'redth.net.maui.check' (version '0.6.1') was successfully installed.

❯ sw_vers ProductName: macOS ProductVersion: 11.5 BuildVersion: 20G71

--- Windows 10 --- dotnet tool uninstall -g redth.net.maui.check Tool 'redth.net.maui.check' (version '0.7.3') was successfully uninstalled.
dotnet tool install -g redth.net.maui.check --version 0.7.3 You can invoke the tool using the following command: maui-check Tool 'redth.net.maui.check' (version '0.7.3') was successfully installed.

adamhill avatar Aug 18 '21 17:08 adamhill