maui icon indicating copy to clipboard operation
maui copied to clipboard

Fail to install MAUI from main branch with error "Failed to install manifest microsoft.net.workload.mono.toolchain version 6.0.11... is not found in NuGet feeds"

Open v-Lily opened this issue 2 years ago • 4 comments

Description

After installing the .NET 6.0 SDK, fails to install MAUI from main branch with the following error:

Workload installation failed: Failed to install manifest microsoft.net.workload.mono.toolchain version 6.0.11: microsoft.net.workload.mono.toolchain.manifest-6.0.300::6.0.11 is not found in NuGet feeds https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-531f715f/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-3f6c45a2/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json;https://api.nuget.org/v3/index.json"..

Steps to Reproduce

  1. Install the .NET 6.0 SDK
  2. Run open up a Windows PowerShell (run as administrator)
  3. Execute the below command from the script to install the maui workload:
dotnet workload install maui \
  --skip-sign-check \
  --from-rollback-file https://aka.ms/dotnet/maui/net6.0.json \
  --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-531f715f/nuget/v3/index.json \
  --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-3f6c45a2/nuget/v3/index.json \
  --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json \
  --source https://api.nuget.org/v3/index.json
  1. The error is as shown below: image

Link to public reproduction project repository

No

Version with bug

Unknown/Other (please specify)

Last version that worked well

Unknown/Other

Affected platforms

Windows, macOS

Affected platform versions

MacOS SDK 6.0.402

Did you find any workaround?

No

Relevant log output

Skipping NuGet package signature verification.
Installing workload manifest microsoft.net.sdk.android version 32.0.479…
Installing workload manifest microsoft.net.sdk.ios version 16.0.527…
Installing workload manifest microsoft.net.sdk.maccatalyst version 15.4.471…
Installing workload manifest microsoft.net.sdk.macos version 12.3.471…
Installing workload manifest microsoft.net.sdk.maui version 6.0.542-ci.net6.0.6990…
Installing workload manifest microsoft.net.sdk.tvos version 16.0.527…
Installing workload manifest microsoft.net.workload.mono.toolchain version 6.0.11…
Workload installation failed. Rolling back installed packs...
Workload installation failed: Failed to install manifest microsoft.net.workload.mono.toolchain version 6.0.11: microsoft.net.workload.mono.toolchain.manifest-6.0.300::6.0.11 is not found in NuGet feeds https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-531f715f/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-3f6c45a2/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json;https://api.nuget.org/v3/index.json"..

v-Lily avatar Oct 27 '22 05:10 v-Lily

Unfortunately, these bits can't currently be installed via the CLI You should be able to install the public previews of VS and use those bits.

PureWeen avatar Oct 27 '22 18:10 PureWeen

Hi @v-Lily. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Oct 27 '22 18:10 ghost

@PureWeen Yes, I was able to install the public preview of VS on Windows, but I can only install maui on MAC via CLI.

v-Lily avatar Oct 28 '22 06:10 v-Lily

Thanks for the issue report @v-Lily! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the VS feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

This issue will be automatically closed in 3 days if there are no further comments.

ghost avatar Oct 28 '22 14:10 ghost

@PureWeen @jsuarezruiz The issue will only be reproduced when using the command to install maui. VS already includes maui for 6.0.x, so I don't think it has anything to do with VS. Maybe this issue will not reproduce after 6.0 SDK GA. I will continue to track this issue.

v-Lily avatar Oct 31 '22 02:10 v-Lily

This issue is being closed due to inactivity. If this issue is still affecting you, please follow the steps above to use the VS Feedback Tool to report the issue.

ghost avatar Nov 03 '22 06:11 ghost