What would be the best way to list installed components of my Visual studio 2017 installation ?
I know I can start the Visual Studio Installer > Modify and review the Workloads or Individual components there.
But there doesn't seem to be a way to extract the list of installed components to a txt file ?
(I'm making screenshots now to document what I have)
Is there any way ? E.g. can I run the Windows Studio Installer commandline perhaps ?
Visual Studio installs the package and its dependencies in the project. When installation is complete, the added packages appear on the Installed tab. You can also find packages in the Dependencies > Packages node of your project in Solution Explorer.
In the Visual Studio Installer, choose the Workloads tab, and then select or deselect the workloads that you want. To add more components than a workload installs, choose the Individual components tab, and then select or deselect the individual components that you want.
vswhere is designed to be a redistributable, single-file executable that can be used in build or deployment scripts to find where Visual Studio - or other products in the Visual Studio family - is located.
If you've already installed it and want to change the location, you must uninstall Visual Studio and then reinstall it. In the Shared components, tools, and SDKs section, select the folder where you want to store the files that are shared by side-by-side Visual Studio installations.
With newer versions (at least 2019) you can export your settings directly from the VS Installer. In the "More" dropdown you have the possibility to export and import the current configuration for each individual VS install you have on your machine.
Source: https://docs.microsoft.com/en-us/shows/visual-studio-toolbox/visual-studio-installation-and-customization (starting at 07:51)
Install powershell 5 from the WMF 5.0
In posh console run these 2 commands:
Install-Module VSSetup -Scope CurrentUser (allow nuget to install a package)
(get-vssetupinstance | select-vssetupinstance).packages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With