"dotnet workload update --print-download-link-only" command fails
See original GitHub issueI tried this with both the released version of preview 7 and the latest RC main branch build of the installer.
dotnet workload update --print-download-link-only
fails.
dotnet workload update
(without --print-download-link-only
) works fine, but I need to download packages in the background for VSMac.
This command was working AFAIR with preview 7 before I went on vacation a couple of weeks back.
jasonimison@Jasons-MacBook-Pro-2 ~/Library/Caches/VisualStudio/17.0/TempDownload $ /usr/local/share/dotnet/dotnet workload update --print-download-link-only --temp-dir "/var/folders/j1/ykgr31c54fg72hz1gfqw_dch0000gn/T/-1203675120"
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadManifestCompositionException: Did not find workload manifest dependency 'Microsoft.NET.Workload.Emscripten' required by manifest 'microsoft.net.workload.mono.toolchain.manifest-6.0.100.6.0.0-preview.7.21377.19' [/var/folders/j1/ykgr31c54fg72hz1gfqw_dch0000gn/T/-1203675120/dotnet-manifest-extraction/microsoft.net.workload.mono.toolchain.manifest-6.0.100.6.0.0-preview.7.21377.19/WorkloadManifest.json]
at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.ComposeWorkloadManifests()
at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.Create(IWorkloadManifestProvider manifestProvider, String dotnetRootPath, String sdkVersion)
at Microsoft.DotNet.Workloads.Workload.Update.WorkloadUpdateCommand.UseTempManifestsToResolvePacksAsync(DirectoryPath tempPath, Boolean includePreview)
at Microsoft.DotNet.Workloads.Workload.Update.WorkloadUpdateCommand.GetUpdatablePackageUrlsAsync(Boolean includePreview)
at Microsoft.DotNet.Workloads.Workload.Update.WorkloadUpdateCommand.Execute()
at Microsoft.DotNet.Cli.DotNetTopLevelCommandBase.RunCommand(String[] args)
at Microsoft.DotNet.Workloads.Workload.WorkloadCommand.Run(String[] args)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Unable to update .NET6 workloads with 6.0.200-preview. ...
Failed to download manifest package microsoft.net.workload.emscripten. Unhandled exception: Microsoft.NET.Sdk.WorkloadManifestReader.
Read more >dotnet workload update command - .NET CLI
The dotnet workload update command updates all installed workloads to the newest available versions. It queries Nuget.org for updated ...
Read more >dotnet workload install command - .NET CLI
The dotnet workload install command installs one or more optional workloads. Optional workloads can be installed on top of the .
Read more >dotnet workload repair command - .NET CLI
The dotnet workload repair command reinstalls all installed workloads. Workloads are made up of multiple workload packs and it's possible to ...
Read more >dotnet workload restore command - .NET CLI
The 'dotnet workload restore' command installs workloads needed for a project or a solution.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nosami this is a bug in SDK being exposed only in
--print-download-link
and aot started to use “depend-on” featureI’ve not used
--print-download-link
, but daily builds of that package seems like it is on this feed:https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
If you’re using the public release, everything should be on NuGet.org, though.