.Net MAUI | NET SDK - Workloads (6.0.100-preview.5.21302.13) Checkup Issue

Jonathan Castillo 6 Reputation points
2021-06-24T00:32:35.013+00:00

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_11_0_-_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

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,771 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Chuck C Giddens 5 Reputation points
    2021-08-05T12:08:59.187+00:00

    When I run the check, it fails immediately with ![120777-image.png][1] I have DotNet 6 Latest preview installed ![120851-image.png][2] [1]: /api/attachments/120777-image.png?platform=QnA [2]: /api/attachments/120851-image.png?platform=QnA

    0 comments No comments

  2. Sven Schilling 1 Reputation point
    2021-08-07T01:32:23.63+00:00

    anonymous user had the same trouble but there is an easy solution for that just type maui-check --preview

    0 comments No comments

  3. Sven Schilling 1 Reputation point
    2021-08-07T01:47:10.527+00:00

    Having a trouble myself on linux, maybe someone has a quick tip to solve this ?

    Cheers Sven

    121343-maui.png

    0 comments No comments