vs_enterprise.exe --noweb --noUpdateInstaller --quiet --wait ^ --add Microsoft.VisualStudio.Workload.ManagedDesktop ^ --includeRecommended Create a response.json file:
vs_enterprise.exe --noweb --quiet --wait --config response.json If a machine already has Visual Studio 2019 installed from the same layout and you want to add a workload: visual studio 2019 offline installer
vs_enterprise.exe --layout D:\VS2019_Offline --clean It removes packages no longer referenced in the current channel manifest. Use --verify : vs_enterprise
vs_enterprise.exe --layout D:\VS2019_Offline --verify It checks all packages against their hashes. Example PowerShell script to run weekly: visual studio 2019 offline installer
Then run:
(Included in Section 5.4)
vs_enterprise.exe --layout D:\VS2019_Offline --useLatestInstaller This will download only changed packages, not the full layout again. Over time, older packages accumulate. Use the --clean option (with caution):
СºÚÎÝ|ÊÖ»ú°æ|CADÂÛ̳|CAD½Ì³Ì|CADÏÂÔØ||¹ØÓÚÃ÷¾|Ã÷¾Í¨µÀ
( ÔÁICP±¸05003914ºÅ ) Â
©2000-2023 Ã÷¾Í¨µÀ °æÈ¨ËùÓÐ ±¾Õ¾´úÂ룬ÔÚδȡµÃ±¾Õ¾¼°×÷ÕßÊÚȨµÄÇé¿öÏ£¬²»µÃÓÃÓÚÉÌÒµÓÃ;
GMT+8, 2025-12-14 16:10 , Processed in 0.176272 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.