Redth / dotnet-maui-check

.NET MAUI Check tool
MIT License
479 stars 79 forks source link

No possible to find any compatible frameworks #136

Open rena0157 opened 3 years ago

rena0157 commented 3 years ago

Installed maui-check using dotnet tool install -g Redth.Net.Maui.Check. Version 0.1.0 was installed.

Ran it in an non-admin command prompt and nothing was happening. No warnings or pop-ups. Then tried it in an admin prompt and got the following error:

$ maui-check --verbose
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '6.0.0' (x64) was not found.
  - The following frameworks were found:
      3.1.18 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      5.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      6.0.0-rc.2.21480.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

Note that I do have the above listed sdks installed and of which 6.0.0 is one. Not sure what is going wrong.