Skip to content

dotnetup env show and env set unclearly report a saved setting rather than the reality of PATH #57189

Open

Description

@nagilson

Prerequisites

Issue type

Bug report

Description

These strings come from the saved dotnetup-on-PATH setting, not from checking the real PATH:

dotnetup on PATH false / dotnet is on your PATH. dotnetup is not.

They seem to cause confusion that this represents whether dotneutp is on the path. We cant actually accurately detect that. We should instead make the messaging more clear that this is about whether dotnetup has a configuration setting, set to try to set itself onto the path, rather than making it affirm that it is or isn't on the path.

When env set turns on dotnet access without the flag, also turn dotnetup-on-PATH back on, or at least say it's being left off.

dotnetup version

No response

Activity

  1. added
    untriaged
    Area-dotnetup
    on Nov 17, 2026
  2. locked and limited conversation to collaborators on Nov 17, 2026
  3. unlocked this conversation on Nov 17, 2026
  4. added
    cookie
    and removed
    untriaged
    on Nov 17, 2026
  5. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    • 🏷️ Labels: Area-dotnetup Work items around the proposed `dotnetup` bootstrapper/toolchain management tool and library Bug cookie Issue Monster Loves Cookies!
    • 💻 Assignment: @dsplaisted | @dotnet/dotnetup
    • 🟩 Confidence: high - The issue directly concerns dotnetup and CODEOWNERS has an unambiguous dotnetup section.

    ➡️ Summary: dotnetup env show and env set report a saved PATH setting as if it were the real PATH state. Clarify the messaging and consider re-enabling the setting when env set turns on dotnet access.

    Generated by 🏷️ Issue Triage for #57189 · copilot · auto (Claude Sonnet 5.5) · ~15 AIC · ⌖ ~2 AIC · ⊞ 15.5K · ◷

  6. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster Orchestrator · copilot · auto (Claude Sonnet 5.5) · ~13 AIC · ⌖ ~26 AIC · ⊞ 13K · ◷

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

Metadata

Metadata

Labels

Area-dotnetupBugcookie

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions