NuGet / NuGet/Home

[Bug]: It will always run NuGet restore automatically when the project is VSIX project

Open
#11,684 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Category:Quality Week Functionality:Restore Priority:2 Product:VS.Client Type:Bug
Dominant language
HTML
Stars
1.6k
Forks
276
Avg merge
6d 1h
Merged PRs (30d)
1

Description

NuGet Product Used

Visual Studio Package Management UI, Visual Studio Package Manager Console

Product Version

Visual Studio 16.11 (and 2022 as well possibly)

Worked before?

Not sure

Impact

It's more difficult to complete my work

Repro Steps & Context

In a VS solution, create a VSIX project. And no matter whether the automatically restore NuGet is checked or not in Tools->Options, it will restore the package every time when open the solution. This is pretty annoying as we have a very large solution.

Verbose Logs

No response

Contributor guide

Open the 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.

Research direction

Reproduce the issue by creating a VSIX project in a Visual Studio solution, then compare behavior with the automatic NuGet restore option in Tools > Options enabled and disabled. Done means opening the solution no longer restores packages when automatic restore is disabled, including for a large solution.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.