VS Info Message: "Package restore on project open is disabled. Change the npm package management settings in Project Properties ..."

Viewed 9763

VS 2019 throws this info message: "Package restore on project open is disabled. Change the npm package management settings in Project Properties to enable restore on project open."

enter image description here

But I can't find any specific checkbox or "npm properties tab" in project's properties for this. Could you give me some details on it?

2 Answers

In Visual Studio 2019 (and 2022), you can find this global setting in:

Tools > Options > Projects and Solutions > Web Package Management > Package Restore

We have not yet found this setting in Project Properties.

Just found it!!! If it helps anyone in the future

img

Related