Hi @amin nazari ,
Welcome to Microsoft Q&A forum.
The document includes workload IDs and component IDs. They are the same(installing with UI in VS IDE or using IDs in command line). The difference is these IDs are usually for command line installing.
One thing to note is that you may need to select to install all "Required"(Dependency type) components of one workload to install this workload. I mean, if you only installing several Required components or only selecting several Optional components to install(without installing Required components), then the installation may fail.
BTW, if you want to install all workloads and components, you can consider this command:
vs_enterprise.exe --layout C:\XXXXX --lang en-US(this command creates a complete local layout with all features).
Feel free to contact us.
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @amin nazari ,
For normal versions(Community, Professional, Enterprise) no, but for Build Tools version, yes for Windows Server core 2016, 2019, no for Windows Server core 2022(Would suggest you double confirm this by raising a ticket on our Developer Community, in case it supports now).
As this Visual Studio 2022 System Requirements doc says: The following are not supported: > Server IoT, Server Core and Minimal Server Interface options for Windows Server.
But it also says: The Build Tools support the same system requirements as Visual Studio with the following changes > Also installs on the Server Core option for Windows Server 2016 and Windows Server 2019.
Besides, here’s the link for vs_enterprise.exe.