Redth / dotnet-maui-check

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

Unable to find "Project Type - MAUI" - Visual Studio Enterprise 2022 Version 17 Preview 3.1 #117

Open yousufctec opened 3 years ago

yousufctec commented 3 years ago

Unable to find the Project Type - "MAUI", yet the maui-checktools says everything was perfect.

Below are the logs from maui-check

 .NET MAUI Check v0.8.4.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.10 (C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin\..)
  - 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)

> Visual Studio 17.0.0-pre.3.0 Checkup...
  - 17.0.0-pre.3.1 - C:\Program Files\Microsoft Visual Studio\2022\Preview

> Android SDK Checkup...
  - emulator (30.8.4)
  - build-tools;30.0.2 (30.0.2)
  - platforms;android-30 (3)
  - system-images;android-30;google_apis;x86 (10)
  - platform-tools (31.0.3)
  - cmdline-tools;3.0 (3.0)

> Android Emulator Checkup...
  - Emulator: Android_Emulator_30 found.

> .NET SDK Checkup...
  - 6.0.100-preview.7.21379.14 - C:\Program Files\dotnet\sdk\6.0.100-preview.7.21379.14

> .NET SDK - Workload Deduplication Checkup...

> Edge WebView2 Checkup...
  - Found Edge WebView2 version 93.0.961.38

> .NET SDK - Workloads (6.0.100-preview.7.21379.14) Checkup...
  - android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 30.0.100-preview.7.110) installed.
  - ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.100-preview.7.230) installed.
  - maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.100-preview.7.230) installed.
  - tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.100-preview.7.230) installed.
  - macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.100-preview.7.230) installed.
  - maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.100-preview.7.1345) installed.
  - wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-preview.7.21377.19) installed.
  - microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-preview.7.21377.2) installed.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

- Congratulations, everything looks great!

Press enter to exit...

Below are the images attached.

image

image

image

image

yousufctec commented 3 years ago

After installing the component "C++ (v143) Universal Windows Platform" as highlighted below under "Universal Windows Platform devlopment", I was able to see the Project Type - MAUI.

image

If the maui-check tool is updated accordingly to automatically install it or ignore it, it will be great!

Thanks!

PiepsC commented 3 years ago

I was able to fix this issue downloading the templates manually through the dotnet CLI. But I pretty much immediately ran into another issue described in #112 after that

yousufctec commented 3 years ago

Even after downloading and installing the MAUI template through CLI, it didn't worked for me. I have to do the above step to make it work for me.