© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•6d ago•
1 reply
Happypig375

How to make "dotnet workload restore" install a specific undetected workload?

uno
Specifically, Uno Platform's default single-project template uses this custom MSBuild SDK:
<Project Sdk="Uno.Sdk/6.4.58">
<Project Sdk="Uno.Sdk/6.4.58">
and
dotnet workload restore
dotnet workload restore
doesn't realize that
wasm-tools
wasm-tools
is required for
dotnet build
dotnet build
on this project, so CI fails:
Error: /home/runner/.nuget/packages/uno.wasm.bootstrap/10.0.15/build/Uno.Wasm.Bootstrap.targets(461,3): error UNOWA0001: Native WebAssembly assets were detected, but the wasm-tools workload could not be located. Install it by running uno.check (https://aka.platform.uno/uno-check) or 'dotnet workload install wasm-tools'. 
Error: /home/runner/.nuget/packages/uno.wasm.bootstrap/10.0.15/build/Uno.Wasm.Bootstrap.targets(461,3): error UNOWA0001: Native WebAssembly assets were detected, but the wasm-tools workload could not be located. Install it by running uno.check (https://aka.platform.uno/uno-check) or 'dotnet workload install wasm-tools'. 


I hope there is a way aside from explicitly
dotnet workload install wasm-tools
dotnet workload install wasm-tools
which requires custom maintenance of workload lists across all the CI scripts when
dotnet workload restore
dotnet workload restore
could have worked.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ dotnet workload install errors.
C#CC# / help
3y ago
✅ Docker Dotnet restore
C#CC# / help
3y ago
dotnet restore to ignore packages
C#CC# / help
4y ago