volta
volta copied to clipboard
Documentation for old school Visual Studio users
Can you please add this somewhere in the docs for people that are still using the heavyweight Visual Studio?
If you are managing your NPM version with Volta, but also using Visual Studio, then you will need to update your VS config to use Volta instead of the NPM tools that come with VS. From your Visual Studio:
- Choose Tools > Options. Under Projects and solutions, choose Web Package Management > External Web Tools
- Add
$(ProgramFiles)\Volta
to the top of the list - Add
$(LOCALAPPDATA)\.volta\bin
as the second item on the list
These instructions have been tested with VS2022 (17.1.0). Wording may be slightly different on other versions.
Hi @bbrandt, thanks for writing that up! Is that option (Web Package Management > External Web Tools
) part of a plugin that you would need to have installed for these instructions to make sense? Or is it just a default part of Visual Studio? I haven't worked in full VS in many years, so I just want to make sure.
I think we can definitely add those instructions to the docs!
Web Package Management > External Web Tools
is an option in vanilla Visual Studio. No plugin needed. Thanks!