Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/Add .NET workload 'wasm-tools' #11049

Open
4 of 16 tasks
mip1983 opened this issue Nov 26, 2024 · 1 comment
Open
4 of 16 tasks

Update/Add .NET workload 'wasm-tools' #11049

mip1983 opened this issue Nov 26, 2024 · 1 comment

Comments

@mip1983
Copy link

mip1983 commented Nov 26, 2024

Tool name

.NET workload wasm-tools

Tool license

Microsoft owned .NET

Add or update?

  • Add
  • Update

Desired version

9.0.0 or latest

Approximate size

No response

Brief description of tool

Can I request that both the 'windows-latest' and 'ubuntu-latest' have the .NET workload 'wasm-tools' (used by Blazor Web) installed by default?

I would say for both these images, it would be good if they had the latest .NET sdk (9.0.0 at time of writing) and any .NET workloads (wasm-tools, maui) installed by default so I don't need to run a dotnet workload restore step in my pipeline.

I imagine quite a lot of people are using .NET and Blazor, given they're you're main SDK and web UI framework, it would be good if they get first class support in any pipelines.

URL for tool's homepage

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-restore

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

Yes, but it adds and extra 2-5 minutes to each build step

You can use:

- task: DotNetCoreCLI@2
  displayName: 'dotnet workload restore'
  inputs:
      command: 'custom'
      custom: 'workload'
      arguments: 'restore

Tool installation time in runtime

2-5 minutes

Are you willing to submit a PR?

Wouldn't know how

@RaviAkshintala
Copy link
Contributor

Hi @mip1983 Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants