Skip to content

Allow only runtime to be installed #655

Closed as duplicate
Closed as duplicate

Description

@Frulfump

Description:
Add an option that forwards to the corresponding install-script option.
The install script supports the --runtime option https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#options

Justification:
Runtime is smaller and when you only need the runtime it's better to not get excess capabilities.

Are you willing to submit a PR?

Not really

Activity

  1. v-priyagupta108 commented on Aug 4, 2025

    @v-priyagupta108
    Contributor

    Hi @Frulfump 👋,
    Thank you for the feature request. We will investigate it and get back to you as soon as we have some feedback.

  2. Frulfump commented on Aug 4, 2025

    @Frulfump
    Author

    @priyagupta108 Thank you. How long does that usually take I see some other recent issues left in this state for more than three months? I assume this would be easy to implement with GitHub Copilot.

  3. Athari commented on Aug 16, 2025

    @Athari

    I'm willing to submit a PR for this, if needed.

    The only question would be the default value. The install script treats any runtime argument value which isn't dotnet, aspnetcore or windowsdesktop as "install SDK instead". Should the default non-runtime value be sdk, none or something else?

  4. Athari commented on Aug 16, 2025

    @Athari

    Oh, never mind. This issue is a dupe of:

    And there's already a pull request:

    It's also merged into the akv-platform/setup-dotnet fork in this pull request:

    This doesn't allow passing all variants of runtime (only true/false), but can easily be improved.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions