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

[SUGGESTION] Add "Find and install latest version" code action #1687

Open
webreidi opened this issue Dec 13, 2024 · 1 comment
Open

[SUGGESTION] Add "Find and install latest version" code action #1687

webreidi opened this issue Dec 13, 2024 · 1 comment
Labels
area-nuget NuGet Package Manager area-project Project load, Solution Explorer area-roslyn enhancement New feature or request
Milestone

Comments

@webreidi
Copy link

Describe the feature you'd like

When you write code that requires the addition of a NuGet package, the fix to install the appropriate NuGet Package should be made available.

See https://dataexplorer.azure.com/dashboards/749566b0-0f3f-49ae-b05f-3b8bc76e6344?p-_startTime=2024-12-01T15-51-00Z&p-_endTime=2024-12-31T16-51-00Z&p-_job=all&p-_devlength=all#afc58cb6-8afc-4730-8f94-5bdc47c86126 for example of it working in VS.

Alternatives considered

No response

Environment Information

No response

@webreidi webreidi added area-roslyn enhancement New feature or request labels Dec 13, 2024
@dibarbet
Copy link
Member

dibarbet commented Jan 7, 2025

This is implemented in VS via calling out to multiple VS services

  1. INuGetProjectService - I believe this is to get already installed packages
  2. IVsPackageSourceProvider - believe this finds packages from nuget
  3. IVsPackageInstaller2 - actually install the package
  4. And possibly more (some shell / package manager console things)

I'd categorize this as a large work item for now, and will need work with nuget + project system to implement in devkit.

@dibarbet dibarbet added this to the Backlog milestone Jan 7, 2025
@webreidi webreidi added area-project Project load, Solution Explorer area-nuget NuGet Package Manager labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-nuget NuGet Package Manager area-project Project load, Solution Explorer area-roslyn enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants