Redth / dotnet-maui-check

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

.NET SDK - Workloads (6.0.100-preview.5.21302.13) Checkup Issue #59

Closed jonathan-coles closed 3 years ago

jonathan-coles commented 3 years ago

Hi, I am setting my dev environment to start testing the .NET MAUI in .NET 6 Preview 5 (June 2021), however, I can't finish the initial setup via maui-check, here is the complete log for you to check (issue highlighted at the end):


`PM> maui-check


 | \ | | | ____| |_   _|   |  \/  |    / \    | | | | |_ _|                 
 |  \| | |  _|     | |     | |\/| |   / _ \   | | | |  | |                  

_ | |\ | | | | | | | | | / \ | || | | |
(
) || _| |____| || || || // _\ ___/ |___|

¤ .NET MAUI Check v0.5.6.0 ¤ ──────────────────────────────────────────────────────────────────────────────── This tool will attempt to evaluate your .NET MAUI development environment. If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.

Thanks for choosing .NET MAUI! ──────────────────────────────────────────────────────────────────────────────── » Synchronizing configuration... ok » Scheduling appointments... ok

OpenJDK 11.0 Checkup...

  • 11.0.11 (C:\Program Files\Microsoft\jdk-11.0.11.9-hotspot\bin..)
  • 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)

Visual Studio 16.10.0 Checkup...

  • 16.10.2 - C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
  • 16.11.0-pre.2.0 - C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview

Android SDK Checkup...

  • emulator (30.1.5)
  • build-tools;30.0.2 (30.0.2)
  • platforms;android-30 (3)
  • system-images;android-30;google_apis_playstore;x86 (9)
  • platform-tools (30.0.4)

Android Emulator Checkup...

  • Emulator: pixel_2_r_110-_api_30 found.

.NET SDK Checkup...

  • 5.0.301 - C:\Program Files\dotnet\sdk\5.0.301
  • 5.0.400-preview.21277.10 - C:\Program Files\dotnet\sdk\5.0.400-preview.21277.10
  • 6.0.100-preview.5.21302.13 - C:\Program Files\dotnet\sdk\6.0.100-preview.5.21302.13

.NET SDK - Workload Deduplication Checkup...

.NET SDK - EnableWorkloadResolver.sentinel Checkup...

  • C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\SdkResolvers\Microsoft.DotNet.MSBui ldSdkResolver\EnableWorkloadResolver.sentinel exists.
  • C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\SdkResolvers\Microsoft.DotNet.MSBuildSdk Resolver\EnableWorkloadResolver.sentinel exists.

> .NET SDK - Workloads (6.0.100-preview.5.21302.13) Checkup... × microsoft-android-sdk-full (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 30.0.100-preview.5.28) not installed. × microsoft-ios-sdk-full (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 14.5.100-preview.5.894) not installed. × microsoft-maccatalyst-sdk-full (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 14.5.100-preview.5.894) not installed. × microsoft-tvos-sdk-full (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 14.5.100-preview.5.894) not installed. × microsoft-macos-sdk-full (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 11.3.100-preview.5.894) not installed.

──────────────────────────────────────────────────────────────────────────────── ¤ Recommendation: Install Missing SDK Workloads ────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): Error: Cannot read input from a TTY console.`

it does not allow me to install those sdks via maui and so far I haven't found any official Microsoft installer.

Any help would be highly appreciated?

Regards