如何提取当前安装的 Visual Studio 组件 ID? [英] How to extract currently installed Visual Studio component IDs?

查看:25
本文介绍了如何提取当前安装的 Visual Studio 组件 ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过应用与现有安装相同的安装配置,为新团队成员自动安装/升级 VS.

这似乎可以使用

I want to automate VS2017 install/upgrade VS for new team members by applying the same install configuration as an existing installation.

It seems this can be done using VS installer command line parameter --in <json file> parameter which could be passed a list of component ids to install as shown in "Example layout response file content".

While I could manually consider and search for all required component IDs and their dependencies, it would be much simpler to just export the configuration from some existing properly configured VS environment and import it on new install.

How can I extract the list of currently installed VS workload and component IDs?

解决方案

Please run the VS installer as administrator and click More-Export configuration, follow the steps, then we will get the .vsconfig file that listed the installed workloads and components like the following:

这篇关于如何提取当前安装的 Visual Studio 组件 ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆