Closed v-ainigao closed 4 weeks ago
Not repro on yesterday's build: .net9.0.100-rtm.24514.15(runtime-9.0.0-rtm.24511.16)sdk
The same issue also repro when creating a new project.
This issue also repro's on ARM64/Linux/MAC OS. Arm64 Linux MAC
@lewing I thought you were getting rid of the version requirement? I think we need a codeflow with a stable emsdk.
Currently the latest error for installing wasm-tools workload but installed aspire and maui workload can success update maui workload appear error
Is the isolated feed for emsdk included in the nuget.config when doing the workload restore? https://github.com/dotnet/sdk/blob/release/9.0.1xx/NuGet.config#L11
The stable versions aren't going to show up on the dotnet9 feed anymore. However, I think at least one runtime build with a stable emsdk dependency showed up there so if you use that feed, you may be unable to do workload work at the moment. You'll have to use an additional feed per Matt above.
The stable versions aren't going to show up on the dotnet9 feed anymore. However, I think at least one runtime build with a stable emsdk dependency showed up there so if you use that feed, you may be unable to do workload work at the moment. You'll have to use an additional feed per Matt above.
After adding additional feed, maui workload upgrade still fails with same errors.
This issue still repro's on net9.0.100SDK, Did I miss some additional feeds? dotnet workload install maui/android
Workload installation failed: One or more errors occurred. (Version 34.0.145 of package microsoft.android.sdk.windows.msi.arm64 is not found in NuGet feeds https://api.nuget.org/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/internal/_packaging/9.0.100-rtm.24518.46-shipping/nuget/v3/index.json.
Today, installing maui in the latest 9.0.100SDK still failed.
After adding additional feeds, maui/android workloads can be installed successfully. So, close it
Additional feed:
<add key="darc-pub-xamarin-xamarin-macios-ecbd8510" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-xamarin-xamarin-macios-ecbd8510/nuget/v3/index.json" />
<add key="darc-pub-dotnet-android-df9aaf2-2" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-android-df9aaf29-2/nuget/v3/index.json" />
<add key="darc-pub-xamarin-xamarin-macios-8354d6d" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-xamarin-xamarin-macios-8354d6d9/nuget/v3/index.json" />
Build info: .net9.0.100-rtm.24515.15(runtime-9.0.0-rtm.24511.16) SDK
Repro steps: 1.Download the NET9 RTM SDK. 2.Install workload with commands.
dotnet workload install maui
/dotnet workload install aspire
ordotnet workload install wasm-tools --skip-sign-check
Expected Result: workload installd successfully.
Actual Result: workload installs failed with below error. Workload installation failed: Workload manifest dependency 'Microsoft.NET.Workload.Emscripten.Current' version '9.0.0-rtm.24513.1' is lower than version '9.0.0' required by manifest 'microsoft.net.workload.mono.toolchain.current' [C:\Program Files\dotnet\x64\sdk-manifests\9.0.100\microsoft.net.workload.mono.toolchain.current\9.0.0-rtm.24515.15\WorkloadManifest.json]
Note: The same error also appears in dotnet --info.
dotnet --info: .NET SDK: Version: 9.0.100-rtm.24515.15 Commit: b2ac8c11db Workload version: 9.0.100-manifests.5a1ed105 MSBuild version: 17.12.3+4ae11fa8e
Runtime Environment: OS Name: Windows OS Version: 10.0.22631 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\x64\sdk\9.0.100-rtm.24515.15\
.NET workloads installed: Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadManifestCompositionException: Workload manifest dependency 'Microsoft.NET.Workload.Emscripten.Current' version '9.0.0-rtm.24513.1' is lower than version '9.0.0' required by manifest 'microsoft.net.workload.mono.toolchain.current' [C:\Program Files\dotnet\x64\sdk-manifests\9.0.100\microsoft.net.workload.mono.toolchain.current\9.0.0-rtm.24515.15\WorkloadManifest.json] at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.ComposeWorkloadManifests() at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.InitializeManifests() at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.GetAvailableWorkloadDefinitions()+MoveNext() at System.Linq.Enumerable.IEnumerableSelectIterator
2.MoveNext() at Microsoft.DotNet.Workloads.Workload.VisualStudioWorkloads.GetAvailableVisualStudioWorkloads(IWorkloadResolver workloadResolver) at Microsoft.DotNet.Workloads.Workload.VisualStudioWorkloads.GetInstalledWorkloads(IWorkloadResolver workloadResolver, InstalledWorkloadsCollection installedWorkloads, Nullable
1 sdkFeatureBand) at Microsoft.DotNet.Workloads.Workload.List.WorkloadInfoHelper.AddInstalledVsWorkloads(IEnumerable`1 sdkWorkloadIds) at Microsoft.DotNet.Cli.WorkloadCommandParser.ShowWorkloadsInfo(ParseResult parseResult, WorkloadInfoHelper workloadInfoHelper, IReporter reporter, String dotnetDir, Boolean showVersion) at Microsoft.DotNet.Cli.CommandLineInfo.PrintWorkloadsInfo() at Microsoft.DotNet.Cli.CommandLineInfo.PrintInfo() at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args)Host: Version: 9.0.0-rtm.24511.16 Architecture: x64 Commit: b030c4dfdf RID: win-x64
.NET SDKs installed: 9.0.100-rtm.24515.15 [C:\Program Files\dotnet\x64\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 9.0.0-rtm.24514.7 [C:\Program Files\dotnet\x64\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 9.0.0-rtm.24511.16 [C:\Program Files\dotnet\x64\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 9.0.0-rtm.24511.2 [C:\Program Files\dotnet\x64\shared\Microsoft.WindowsDesktop.App]
Other architectures found: arm64 [C:\Program Files\dotnet]
Environment variables: Not set
global.json file: Not found
Learn more: https://aka.ms/dotnet/info
Download .NET: https://aka.ms/dotnet/download