Add ability to install just the runtime, rather than the SDK

Open
#352 4 comments 12 reactions 1 assignee View on GitHub

Maintainers usually reply within 7 days

@v-mahabaleshwars is already working on this.

Since Nov 17, 2026.

  • #678 by @xC0dex — closed without merging

Assessment

This issue has not been assessed yet.

Description

feature request

Description:
This action sets up the .NET SDK, but in some cases I'd like to install just a specific runtime version, not the whole SDK.

Justification:
I have a library with tests for multiple .NET versions. I want to use the latest SDK, but to be able to run the tests for all the supported .NET versions, I also need the appropriate runtime versions to be installed.

Are you willing to submit a PR?
Open to it, but would need some guidance, since I'm not familiar with the code.

Note: this seems to be supported by the install.sh and install.ps1 scripts, but I see no way to pass the appropriate parameters to the script when using the action. Am I missing something?

Dominant language
TypeScript
Stars
1.2k
Forks
579
Avg merge
6d 4h
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/setup-dotnet

All issues in actions/setup-dotnet

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.