dotnet / installer

.NET SDK Installer
https://github.com/dotnet/sdk
1.27k stars 446 forks source link

With .NET 7 SDK zip installation, maui workload install failed in CLI #13159

Closed WenJunJi01 closed 2 years ago

WenJunJi01 commented 2 years ago

Environment

7.0.100-preview.1.22077.11(runtime-7.0.0-preview.1.22076.8)

Reproduction Steps

  1. Set up clean machine with .NET 7 SDK zip installation from https://github.com/dotnet/installer.
  2. Install maui workload with below command: dotnet workload install maui --skip-manifest-update --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json"

Expected behavior

maui workload should install successfully in CLI.

Actual behavior

maui workload install failed in CLI. image

Note:

wasm-tools workload can install successfully in CLI. image

Dotnet info:

C:\Users\v-wenjj>dotnet --info .NET SDK (reflecting any global.json): Version: 7.0.100-preview.1.22077.11 Commit: 206a3d605a

Runtime Environment: OS Name: Windows OS Version: 10.0.22000 OS Platform: Windows RID: win10-x64 Base Path: C:\tt\sdk\7.0.100-preview.1.22077.11\

Host (useful for support): Version: 7.0.0-preview.1.22076.8 Commit: 405337939c

.NET SDKs installed: 7.0.100-preview.1.22077.11 [C:\tt\sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 7.0.0-preview.1.22077.2 [C:\tt\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 7.0.0-preview.1.22076.8 [C:\tt\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 7.0.0-preview.1.22076.3 [C:\tt\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download

marcpopMSFT commented 2 years ago

7.0.100 doesn't support Maui workloads yet as they are focused on 6.0.300 for their previews.