Skip to content

Expand/standardize usage of package@version syntax across the .NET CLI #47980

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

Open
baronfel opened this issue Mar 28, 2025 · 0 comments
Open
Assignees
Labels
Area-Workloads cli-ux Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on) Document for new feature untriaged Request triage from a team member User Story A single user-facing feature. Can be grouped under an epic.

Comments

@baronfel
Copy link
Member

baronfel commented Mar 28, 2025

Back in #42367 we got agreement from NuGet to start moving onto this syntax because of familiarity from other ecosystems.

Per conversation earlier today, we agreed to the package@version syntax and we'll start with just the workload and matching manifest. We decided to just use the existing --version or workloadVersion in the global.json for this and look for the @ symbol.

We have three options for fetching this from nuget:

  1. Download all of the available workload sets for the current SDK band and pick the highest that matches
  2. Use the NuGet package tag to start this information and use the api to query the tags
  3. Get NuGet to add a property bag queryable from the API

We agreed to proceed with one since the number of workload sets should be relatively

Originally posted by @marcpopMSFT in #42367

@baronfel baronfel added the cli-ux Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on) label Mar 28, 2025
@baronfel baronfel self-assigned this Mar 28, 2025
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Mar 28, 2025
@baronfel baronfel added User Story A single user-facing feature. Can be grouped under an epic. Document for new feature labels Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads cli-ux Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on) Document for new feature untriaged Request triage from a team member User Story A single user-facing feature. Can be grouped under an epic.
Projects
None yet
Development

No branches or pull requests

1 participant